-
Notifications
You must be signed in to change notification settings - Fork 121
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
Optional/Computed attributes #191
Comments
The JSON Schema |
After reviewing this issue with the AWS Cloud Control team we will change the provider generation code to mark all optional attributes with no defaults specified as |
Community Note
There are attributes that are currently marked as
Optional: true, Computed: false
which are in realityOptional: true, Computed: true
.An example is the
awscc_athena_workgroup
'swork_group_configuration
attributes.When not specified on creation, AWS defines values and returns them on resource read:
In the CloudFormation resource schema,
WorkGroupConfiguration
is correctly not listed as eitherrequired
orreadOnly
so the Terraform resource schema code generator only emitsComputed: true
.This could be solved by specifying default values in the CFN schema or by having some other way of signaling that a property is optional but a value will then be determined for you.
The text was updated successfully, but these errors were encountered: