-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
bugfix/treat empty secretOptions as null to prevent batch_job_definition recreation every time #16120
bugfix/treat empty secretOptions as null to prevent batch_job_definition recreation every time #16120
Conversation
Acceptance test output: % make testacc TEST=./aws TESTARGS='-run=TestAccAWSBatchJobDefinition_' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSBatchJobDefinition_ -timeout 180m === RUN TestAccAWSBatchJobDefinition_basic === PAUSE TestAccAWSBatchJobDefinition_basic === RUN TestAccAWSBatchJobDefinition_disappears === PAUSE TestAccAWSBatchJobDefinition_disappears === RUN TestAccAWSBatchJobDefinition_PlatformCapabilities_EC2 === PAUSE TestAccAWSBatchJobDefinition_PlatformCapabilities_EC2 === RUN TestAccAWSBatchJobDefinition_PlatformCapabilities_Fargate === PAUSE TestAccAWSBatchJobDefinition_PlatformCapabilities_Fargate === RUN TestAccAWSBatchJobDefinition_ContainerProperties_Advanced === PAUSE TestAccAWSBatchJobDefinition_ContainerProperties_Advanced === RUN TestAccAWSBatchJobDefinition_updateForcesNewResource === PAUSE TestAccAWSBatchJobDefinition_updateForcesNewResource === RUN TestAccAWSBatchJobDefinition_Tags === PAUSE TestAccAWSBatchJobDefinition_Tags === RUN TestAccAWSBatchJobDefinition_PropagateTags === PAUSE TestAccAWSBatchJobDefinition_PropagateTags === CONT TestAccAWSBatchJobDefinition_basic === CONT TestAccAWSBatchJobDefinition_updateForcesNewResource === CONT TestAccAWSBatchJobDefinition_ContainerProperties_Advanced === CONT TestAccAWSBatchJobDefinition_PropagateTags === CONT TestAccAWSBatchJobDefinition_PlatformCapabilities_Fargate === CONT TestAccAWSBatchJobDefinition_Tags === CONT TestAccAWSBatchJobDefinition_PlatformCapabilities_EC2 === CONT TestAccAWSBatchJobDefinition_disappears --- PASS: TestAccAWSBatchJobDefinition_disappears (13.55s) --- PASS: TestAccAWSBatchJobDefinition_PropagateTags (15.94s) --- PASS: TestAccAWSBatchJobDefinition_basic (17.29s) --- PASS: TestAccAWSBatchJobDefinition_PlatformCapabilities_EC2 (17.59s) --- PASS: TestAccAWSBatchJobDefinition_ContainerProperties_Advanced (17.83s) --- PASS: TestAccAWSBatchJobDefinition_PlatformCapabilities_Fargate (19.72s) --- PASS: TestAccAWSBatchJobDefinition_updateForcesNewResource (26.30s) --- PASS: TestAccAWSBatchJobDefinition_Tags (36.28s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 39.134s
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.
Commercial
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSBatchJobDefinition_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSBatchJobDefinition_ -timeout 180m
=== RUN TestAccAWSBatchJobDefinition_basic
=== PAUSE TestAccAWSBatchJobDefinition_basic
=== RUN TestAccAWSBatchJobDefinition_disappears
=== PAUSE TestAccAWSBatchJobDefinition_disappears
=== RUN TestAccAWSBatchJobDefinition_PlatformCapabilities_EC2
=== PAUSE TestAccAWSBatchJobDefinition_PlatformCapabilities_EC2
=== RUN TestAccAWSBatchJobDefinition_PlatformCapabilities_Fargate
=== PAUSE TestAccAWSBatchJobDefinition_PlatformCapabilities_Fargate
=== RUN TestAccAWSBatchJobDefinition_ContainerProperties_Advanced
=== PAUSE TestAccAWSBatchJobDefinition_ContainerProperties_Advanced
=== RUN TestAccAWSBatchJobDefinition_updateForcesNewResource
=== PAUSE TestAccAWSBatchJobDefinition_updateForcesNewResource
=== RUN TestAccAWSBatchJobDefinition_Tags
=== PAUSE TestAccAWSBatchJobDefinition_Tags
=== RUN TestAccAWSBatchJobDefinition_PropagateTags
=== PAUSE TestAccAWSBatchJobDefinition_PropagateTags
=== CONT TestAccAWSBatchJobDefinition_basic
=== CONT TestAccAWSBatchJobDefinition_updateForcesNewResource
=== CONT TestAccAWSBatchJobDefinition_ContainerProperties_Advanced
=== CONT TestAccAWSBatchJobDefinition_PropagateTags
=== CONT TestAccAWSBatchJobDefinition_PlatformCapabilities_Fargate
=== CONT TestAccAWSBatchJobDefinition_Tags
=== CONT TestAccAWSBatchJobDefinition_PlatformCapabilities_EC2
=== CONT TestAccAWSBatchJobDefinition_disappears
--- PASS: TestAccAWSBatchJobDefinition_disappears (13.55s)
--- PASS: TestAccAWSBatchJobDefinition_PropagateTags (15.94s)
--- PASS: TestAccAWSBatchJobDefinition_basic (17.29s)
--- PASS: TestAccAWSBatchJobDefinition_PlatformCapabilities_EC2 (17.59s)
--- PASS: TestAccAWSBatchJobDefinition_ContainerProperties_Advanced (17.83s)
--- PASS: TestAccAWSBatchJobDefinition_PlatformCapabilities_Fargate (19.72s)
--- PASS: TestAccAWSBatchJobDefinition_updateForcesNewResource (26.30s)
--- PASS: TestAccAWSBatchJobDefinition_Tags (36.28s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 39.134s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSBatchJobDefinition_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSBatchJobDefinition_ -timeout 180m
=== RUN TestAccAWSBatchJobDefinition_basic
=== PAUSE TestAccAWSBatchJobDefinition_basic
=== RUN TestAccAWSBatchJobDefinition_disappears
=== PAUSE TestAccAWSBatchJobDefinition_disappears
=== RUN TestAccAWSBatchJobDefinition_PlatformCapabilities_EC2
=== PAUSE TestAccAWSBatchJobDefinition_PlatformCapabilities_EC2
=== RUN TestAccAWSBatchJobDefinition_PlatformCapabilities_Fargate
=== PAUSE TestAccAWSBatchJobDefinition_PlatformCapabilities_Fargate
=== RUN TestAccAWSBatchJobDefinition_ContainerProperties_Advanced
=== PAUSE TestAccAWSBatchJobDefinition_ContainerProperties_Advanced
=== RUN TestAccAWSBatchJobDefinition_updateForcesNewResource
=== PAUSE TestAccAWSBatchJobDefinition_updateForcesNewResource
=== RUN TestAccAWSBatchJobDefinition_Tags
=== PAUSE TestAccAWSBatchJobDefinition_Tags
=== RUN TestAccAWSBatchJobDefinition_PropagateTags
=== PAUSE TestAccAWSBatchJobDefinition_PropagateTags
=== CONT TestAccAWSBatchJobDefinition_basic
=== CONT TestAccAWSBatchJobDefinition_updateForcesNewResource
=== CONT TestAccAWSBatchJobDefinition_PropagateTags
=== CONT TestAccAWSBatchJobDefinition_ContainerProperties_Advanced
=== CONT TestAccAWSBatchJobDefinition_Tags
=== CONT TestAccAWSBatchJobDefinition_PlatformCapabilities_EC2
=== CONT TestAccAWSBatchJobDefinition_PlatformCapabilities_Fargate
=== CONT TestAccAWSBatchJobDefinition_disappears
--- PASS: TestAccAWSBatchJobDefinition_disappears (16.25s)
--- PASS: TestAccAWSBatchJobDefinition_PropagateTags (18.97s)
--- PASS: TestAccAWSBatchJobDefinition_ContainerProperties_Advanced (21.75s)
--- PASS: TestAccAWSBatchJobDefinition_basic (21.81s)
--- PASS: TestAccAWSBatchJobDefinition_PlatformCapabilities_EC2 (25.27s)
--- PASS: TestAccAWSBatchJobDefinition_PlatformCapabilities_Fargate (25.40s)
--- PASS: TestAccAWSBatchJobDefinition_updateForcesNewResource (38.37s)
--- PASS: TestAccAWSBatchJobDefinition_Tags (48.69s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 51.590s
@philnichol Thanks for the contribution 👏. |
This has been released in version 3.38.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Relates #13629
Relates #11998
Closes #16014
Release note for CHANGELOG:
Output from acceptance testing:
Before updating the acceptance test:
After updating the acceptance test:
Resource acceptance test: