-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Es/fix Terraform domain deploy #12843
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
Conversation
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 2h 20m 59s ⏱️ Results for commit 1310437. ♻️ This comment has been updated with latest results. |
7424e6e
to
1310437
Compare
LocalStack Community integration with Pro 2 files ±0 2 suites ±0 1h 43m 6s ⏱️ -37s Results for commit 1310437. ± Comparison against base commit 10e25f6. This pull request removes 1 and adds 1 tests. Note that renamed tests count towards both.
|
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! This is awesome. Kudos on fixing the snapshot test as well.
Motivation
Reported by a customer, creating a elasticsearch domain would fail unsing Terraform. The Terraform provider was looking for
DomainProcessingStatus=Active
. Since this property was not returned by LocalStack the apply would immediately fail.This pr starts the implementation of
DomainProcessingStatus
through the Domain lifecycle.As I was testing with Terraform, I noticed that most values provided by the user were not being added to the created resource, we would instead only add the default value. This would create issue on subsequent applies. There is still much to do to have CRUD layer parity AWS, but I started the process of at least using the user's value when creating the original
DomainStatus
.Changes
test_create_domain
to a validatedtest_domain_lifecycle
testsDomainProcessingStatus
though the Domain lifecycleget_domain_status
to use the user request to improve it's default values