-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
provider/aws: Add EMR Security Configuration Resource #14080
Conversation
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.
LGTM, few minor nits
|
||
d.Set("creation_date", resp.CreationDateTime) | ||
d.Set("configuration", resp.SecurityConfiguration) | ||
|
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.
Need to set name
here for the import case, more than likely
|
||
* `name` - (Optional) A unique name for this Security Configuration | ||
* `name_prefix` - (Optional) A prefix for the name of this Security Configuration. | ||
Terraform will generate a unique suffix.E.g: `tf-emr-sc-1234` |
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.
Maybe clarify that this is only when both name
and name_prefix
are unset
Type: schema.TypeString, | ||
Required: true, | ||
ForceNew: true, | ||
ValidateFunc: validateJsonString, |
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.
Should we normalize the JSON string to prevent diffs?
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.
Sadly it seems that adding the normal StateFunc
for this actually causes some diffs
5e8f9e7
to
075c7b7
Compare
|
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.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Adds new
emr_security_configuration
resource for Terraform to manage.This is a companion PR to #13620 and implements #11830
It does not cover ListConfigurations; that should probably be a data source