-
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 aws_elasticsearch_domain_policy #8648
Conversation
}, | ||
"access_policies": { | ||
Type: schema.TypeString, | ||
StateFunc: normalizeJson, |
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 don't believe we need the StateFunc now with the DiffSuppressFunc :)
Hi @radeksimko A few small points here but apart from that I think this is in good shape :) P. |
bc5b29f
to
9e1656c
Compare
Re PR ready for final review. |
Unfortunately the tests don't work here :(
|
3461645
to
50d3ebb
Compare
50d3ebb
to
5c229de
Compare
Tests fixed - ready for review now. |
This is awesome @radeksimko :) Very happy to see this get added LGTM! |
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. |
Fixes #5067
FYI: The new acceptance test takes over 1 hour to finish and generally the approach 1) create domain 2) set policy requires roughly double the amount of time to apply/destroy because 1st we have to wait for creation of the domain and 2nd for policy. Any single change may take up to 1 hour. 😞
^ that also means it would be wise to tune our nightly acceptance test run in Travis, which may be hitting timeouts in the part dedicated to ES domain.
Test plan
@stack72 I left out the
DiffSuppressFunc
addition toaws_elasticsearch_domain
. I think it can/should be addressed in a separate PR.