-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stacks updates #83
Stacks updates #83
Conversation
kaleido/platform/runtime.go
Outdated
@@ -89,6 +91,9 @@ func (r *runtimeResource) Schema(_ context.Context, _ resource.SchemaRequest, re | |||
"name": &schema.StringAttribute{ | |||
Required: true, | |||
}, | |||
"stack_id": &schema.StringAttribute{ | |||
Required: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stack ID isn't required by the API. If the enforce-stacks
flag is off, it isn't required at all. If it's on, it is required for most services and runtimes - contract manager and key manager are the exceptions.
}, | ||
"environment_member_id": &schema.StringAttribute{ | ||
Computed: true, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add in networkType here which can be set on a chain infrastructure stack
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of comments made inline
Added new stacks.go and stacks_test.go
Updated runtimes and services providers and tests as well to take in a new stackId