-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Use tag-on-create for sfn #8395
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.
Looks good, @jukie, thanks! 🚀
Output from AWS Standard acceptance testing (failure unrelated):
--- PASS: TestAccAWSSfnActivity_basic (13.20s)
--- PASS: TestAccAWSSfnActivity_importBasic (14.40s)
--- PASS: TestAccAWSSfnActivity_Tags (31.89s)
--- FAIL: TestAccAWSSfnStateMachine_createUpdate (36.66s)
testing.go:568: Step 1 error: Check failed: Check 5/6 error: aws_sfn_state_machine.foo: Attribute 'definition' didn't match ".*\\\"MaxAttempts\\\": 10.*", got "{\n \"Comment\": \"A Hello World example of the Amazon States Language using an AWS Lambda Function\",\n \"StartAt\": \"HelloWorld\",\n \"States\": {\n \"HelloWorld\": {\n \"Type\": \"Task\",\n \"Resource\": \"arn:aws:lambda:us-west-2:187416307283:function:sfn-qqccgc0m48\",\n \"Retry\": [\n {\n \"ErrorEquals\": [\"States.ALL\"],\n \"IntervalSeconds\": 5,\n \"MaxAttempts\": 5,\n \"BackoffRate\": 8.0\n }\n ],\n \"End\": true\n }\n }\n}\n"
--- PASS: TestAccAWSSfnStateMachine_Tags (50.20s)
Output from AWS GovCloud (US) acceptance testing (failure unrelated and after another quick test fix which I'll submit after this):
--- PASS: TestAccAWSSfnActivity_basic (17.29s)
--- PASS: TestAccAWSSfnActivity_importBasic (19.04s)
--- FAIL: TestAccAWSSfnStateMachine_createUpdate (41.69s)
testing.go:568: Step 1 error: Check failed: Check 5/6 error: aws_sfn_state_machine.foo: Attribute 'definition' didn't match ".*\\\"MaxAttempts\\\": 10.*", got "{\n \"Comment\": \"A Hello World example of the Amazon States Language using an AWS Lambda Function\",\n \"StartAt\": \"HelloWorld\",\n \"States\": {\n \"HelloWorld\": {\n \"Type\": \"Task\",\n \"Resource\": \"arn:aws-us-gov:lambda:us-gov-west-1:357342307427:function:sfn-18y92jitjb\",\n \"Retry\": [\n {\n \"ErrorEquals\": [\"States.ALL\"],\n \"IntervalSeconds\": 5,\n \"MaxAttempts\": 5,\n \"BackoffRate\": 8.0\n }\n ],\n \"End\": true\n }\n }\n}\n"
--- PASS: TestAccAWSSfnActivity_Tags (59.11s)
--- PASS: TestAccAWSSfnStateMachine_Tags (62.98s)
This has been released in version 2.11.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
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
Fixes #7671
Changes proposed in this pull request:
Output from acceptance testing: