Skip to content
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

f/aws_sfn_state_machine: enable tracing config #15434

Merged

Conversation

nikhil-goenka
Copy link
Contributor

@nikhil-goenka nikhil-goenka commented Oct 1, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #15430.
Closes #12506.
Closes #18614.
Closes #18615.

Release note for CHANGELOG:


Output from acceptance testing:

make testacc TESTARGS='-run=TestAccAWSSfnStateMachine_Tracing_Config'
=== RUN   TestAccAWSSfnStateMachine_Tracing_Config
=== PAUSE TestAccAWSSfnStateMachine_Tracing_Config
=== CONT  TestAccAWSSfnStateMachine_Tracing_Config
--- PASS: TestAccAWSSfnStateMachine_Tracing_Config (168.47s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	171.227s
...

@nikhil-goenka nikhil-goenka requested a review from a team October 1, 2020 18:38
@ghost ghost added size/M Managed by automation to categorize the size of a PR. service/sfn Issues and PRs that pertain to the sfn service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Oct 1, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Oct 1, 2020
@ghost ghost added the documentation Introduces or discusses updates to documentation. label Oct 1, 2020
@@ -359,3 +392,71 @@ EOF
}
`, rName, tag1Key, tag1Value, tag2Key, tag2Value)
}

func testAccAWSSfnStateMachineConfigTracingConfigEnable(rName string) string {
Copy link
Contributor Author

@nikhil-goenka nikhil-goenka Oct 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gdavison : is there some different command to run to format this ? Got terrafmt error, got the same thing last time as well.

Base automatically changed from master to main January 23, 2021 00:59
@breathingdust breathingdust requested a review from a team as a code owner January 23, 2021 00:59
@lu-liu-rft
Copy link

Hi any update on this feature?

@ghost ghost added the provider Pertains to the provider itself, rather than any interaction with AWS. label Apr 15, 2021
@lu-liu-rft
Copy link

OMG Does this mean 'X-Ray tracing enable' config will be supported for StepFunction very soon?

@nikhil-goenka
Copy link
Contributor Author

OMG Does this mean 'X-Ray tracing enable' config will be supported for StepFunction very soon?

As soon as it get reviewed and merged

@nikhil-goenka
Copy link
Contributor Author

nikhil-goenka commented Apr 20, 2021

@bflad @gdavison @ewbankkit
Hi Guys,
hope you are doing well, can we please get this reviewed and merged if all looks good.

@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label May 5, 2021
ewbankkit added 3 commits May 5, 2021 09:17
Acceptance test output:

% make testacc TEST=./aws TESTARGS='-run=TestAccAWSSfnStateMachine_createUpdate'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSfnStateMachine_createUpdate -timeout 180m
=== RUN   TestAccAWSSfnStateMachine_createUpdate
=== PAUSE TestAccAWSSfnStateMachine_createUpdate
=== CONT  TestAccAWSSfnStateMachine_createUpdate
--- PASS: TestAccAWSSfnStateMachine_createUpdate (107.22s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	110.582s
…uration after Update.

Acceptance test output:

% make testacc TEST=./aws TESTARGS='-run=TestAccAWSSfnStateMachine_TracingConfiguration\|TestAccAWSSfnStateMachine_expressUpdate'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSfnStateMachine_TracingConfiguration\|TestAccAWSSfnStateMachine_expressUpdate -timeout 180m
=== RUN   TestAccAWSSfnStateMachine_expressUpdate
=== PAUSE TestAccAWSSfnStateMachine_expressUpdate
=== RUN   TestAccAWSSfnStateMachine_TracingConfiguration
=== PAUSE TestAccAWSSfnStateMachine_TracingConfiguration
=== CONT  TestAccAWSSfnStateMachine_expressUpdate
=== CONT  TestAccAWSSfnStateMachine_TracingConfiguration
--- PASS: TestAccAWSSfnStateMachine_TracingConfiguration (114.16s)
--- PASS: TestAccAWSSfnStateMachine_expressUpdate (119.29s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	122.419s
@ghost ghost added size/XXL Managed by automation to categorize the size of a PR. and removed size/M Managed by automation to categorize the size of a PR. labels May 5, 2021
…uration after Update.

Acceptance test output:

% make testacc TEST=./aws TESTARGS='-run=TestAccAWSSfnStateMachine_expressLoggingConfiguration'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSfnStateMachine_expressLoggingConfiguration -timeout 180m
=== RUN   TestAccAWSSfnStateMachine_expressLoggingConfiguration
=== PAUSE TestAccAWSSfnStateMachine_expressLoggingConfiguration
=== CONT  TestAccAWSSfnStateMachine_expressLoggingConfiguration
--- PASS: TestAccAWSSfnStateMachine_expressLoggingConfiguration (95.94s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	99.367s
Copy link
Contributor

@ewbankkit ewbankkit left a 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=TestAccAWSSfnStateMachine_'                           
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSfnStateMachine_ -timeout 180m
=== RUN   TestAccAWSSfnStateMachine_createUpdate
=== PAUSE TestAccAWSSfnStateMachine_createUpdate
=== RUN   TestAccAWSSfnStateMachine_expressUpdate
=== PAUSE TestAccAWSSfnStateMachine_expressUpdate
=== RUN   TestAccAWSSfnStateMachine_standardUpdate
=== PAUSE TestAccAWSSfnStateMachine_standardUpdate
=== RUN   TestAccAWSSfnStateMachine_tags
=== PAUSE TestAccAWSSfnStateMachine_tags
=== RUN   TestAccAWSSfnStateMachine_TracingConfiguration
=== PAUSE TestAccAWSSfnStateMachine_TracingConfiguration
=== RUN   TestAccAWSSfnStateMachine_disappears
=== PAUSE TestAccAWSSfnStateMachine_disappears
=== RUN   TestAccAWSSfnStateMachine_expressLoggingConfiguration
=== PAUSE TestAccAWSSfnStateMachine_expressLoggingConfiguration
=== CONT  TestAccAWSSfnStateMachine_createUpdate
=== CONT  TestAccAWSSfnStateMachine_TracingConfiguration
=== CONT  TestAccAWSSfnStateMachine_expressLoggingConfiguration
=== CONT  TestAccAWSSfnStateMachine_standardUpdate
=== CONT  TestAccAWSSfnStateMachine_tags
=== CONT  TestAccAWSSfnStateMachine_disappears
=== CONT  TestAccAWSSfnStateMachine_expressUpdate
--- PASS: TestAccAWSSfnStateMachine_expressUpdate (82.85s)
--- PASS: TestAccAWSSfnStateMachine_standardUpdate (86.95s)
--- PASS: TestAccAWSSfnStateMachine_createUpdate (91.58s)
--- PASS: TestAccAWSSfnStateMachine_disappears (97.47s)
--- PASS: TestAccAWSSfnStateMachine_expressLoggingConfiguration (150.39s)
--- PASS: TestAccAWSSfnStateMachine_TracingConfiguration (153.24s)
--- PASS: TestAccAWSSfnStateMachine_tags (158.60s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	161.891s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSSfnStateMachine_'   
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSfnStateMachine_ -timeout 180m
=== RUN   TestAccAWSSfnStateMachine_createUpdate
=== PAUSE TestAccAWSSfnStateMachine_createUpdate
=== RUN   TestAccAWSSfnStateMachine_expressUpdate
=== PAUSE TestAccAWSSfnStateMachine_expressUpdate
=== RUN   TestAccAWSSfnStateMachine_standardUpdate
=== PAUSE TestAccAWSSfnStateMachine_standardUpdate
=== RUN   TestAccAWSSfnStateMachine_tags
=== PAUSE TestAccAWSSfnStateMachine_tags
=== RUN   TestAccAWSSfnStateMachine_TracingConfiguration
=== PAUSE TestAccAWSSfnStateMachine_TracingConfiguration
=== RUN   TestAccAWSSfnStateMachine_disappears
=== PAUSE TestAccAWSSfnStateMachine_disappears
=== RUN   TestAccAWSSfnStateMachine_expressLoggingConfiguration
=== PAUSE TestAccAWSSfnStateMachine_expressLoggingConfiguration
=== CONT  TestAccAWSSfnStateMachine_createUpdate
=== CONT  TestAccAWSSfnStateMachine_TracingConfiguration
=== CONT  TestAccAWSSfnStateMachine_standardUpdate
=== CONT  TestAccAWSSfnStateMachine_expressLoggingConfiguration
=== CONT  TestAccAWSSfnStateMachine_tags
=== CONT  TestAccAWSSfnStateMachine_disappears
=== CONT  TestAccAWSSfnStateMachine_expressUpdate
--- PASS: TestAccAWSSfnStateMachine_disappears (59.21s)
--- PASS: TestAccAWSSfnStateMachine_standardUpdate (107.93s)
--- PASS: TestAccAWSSfnStateMachine_tags (109.99s)
--- PASS: TestAccAWSSfnStateMachine_createUpdate (111.59s)
--- PASS: TestAccAWSSfnStateMachine_expressLoggingConfiguration (111.89s)
--- PASS: TestAccAWSSfnStateMachine_expressUpdate (114.22s)
--- PASS: TestAccAWSSfnStateMachine_TracingConfiguration (117.20s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	120.135s

@ewbankkit
Copy link
Contributor

@nikhil-goenka Thanks for the contribution 👏.
I took the liberty of tweaking the configuration to be tracing_configuration (and fixed the acceptance tests) in order to get this one merged quicker.

@ewbankkit ewbankkit merged commit 6a0fd81 into hashicorp:main May 5, 2021
@github-actions github-actions bot added this to the v3.39.0 milestone May 5, 2021
@ghost
Copy link

ghost commented May 7, 2021

This has been released in version 3.39.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!

@nikhil-goenka nikhil-goenka deleted the f/aws_sfn_state_machine-tracing-config branch May 7, 2021 12:10
@github-actions
Copy link

github-actions bot commented Jun 7, 2021

I'm going to lock this pull request 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 related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. provider Pertains to the provider itself, rather than any interaction with AWS. service/sfn Issues and PRs that pertain to the sfn service. size/XXL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
3 participants