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

r/aws_kinesisanalyticsv2_application,aws_kinesis_analytics_application: Additional IAM eventual consistency check #16125

Conversation

ewbankkit
Copy link
Contributor

@ewbankkit ewbankkit commented Nov 10, 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: #16104.

Piggy backs on some refactoring to make aws_kinesisanalyticsv2_application and aws_kinesis_analytics_application implementations more similar.

Release note for CHANGELOG:

resource/aws_kinesisanalyticsv2_application: Better handling of IAM role eventual consistency issues
resource/aws_kinesis_analytics_application: Better handling of IAM role eventual consistency issues

Output from acceptance testing:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSKinesisAnalyticsV2Application_' ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 3 -run=TestAccAWSKinesisAnalyticsV2Application_ -timeout 120m
=== RUN   TestAccAWSKinesisAnalyticsV2Application_basicFlinkApplication
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_basicFlinkApplication
=== RUN   TestAccAWSKinesisAnalyticsV2Application_basicSQLApplication
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_basicSQLApplication
=== RUN   TestAccAWSKinesisAnalyticsV2Application_disappears
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_disappears
=== RUN   TestAccAWSKinesisAnalyticsV2Application_Tags
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_Tags
=== RUN   TestAccAWSKinesisAnalyticsV2Application_ApplicationCodeConfiguration_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_ApplicationCodeConfiguration_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Add
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Add
=== RUN   TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Delete
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Delete
=== RUN   TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_EnvironmentProperties_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_EnvironmentProperties_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_EnvironmentProperties_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_EnvironmentProperties_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_ServiceExecutionRole_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_ServiceExecutionRole_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Add
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Add
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Add
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Add
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Delete
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Delete
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Multiple_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Multiple_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Output_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Output_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Add
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Add
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Delete
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Delete
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Add
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Add
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Delete
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Delete
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Update
=== CONT  TestAccAWSKinesisAnalyticsV2Application_basicFlinkApplication
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Update
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Delete
--- PASS: TestAccAWSKinesisAnalyticsV2Application_basicFlinkApplication (40.24s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Add
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Delete (72.64s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Update (74.91s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Delete
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Add (72.58s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Add
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Update (110.69s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Output_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Delete (113.73s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Multiple_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Add (113.88s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Multiple_Update (123.43s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Delete
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Output_Update (129.11s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Add
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Update (131.07s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Delete (118.27s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Add
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Add (124.49s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_ServiceExecutionRole_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Update (117.50s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_EnvironmentProperties_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_ServiceExecutionRole_Update (42.25s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_Update (71.36s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_EnvironmentProperties_Update
=== CONT  TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_EnvironmentProperties_Update (77.23s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Add (126.96s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Delete
--- PASS: TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Delete (42.17s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Add
--- PASS: TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Update (49.29s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_ApplicationCodeConfiguration_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_EnvironmentProperties_Update (91.00s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_Tags
--- PASS: TestAccAWSKinesisAnalyticsV2Application_ApplicationCodeConfiguration_Update (47.32s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_disappears
--- PASS: TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Add (60.28s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_basicSQLApplication
--- PASS: TestAccAWSKinesisAnalyticsV2Application_disappears (35.89s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_basicSQLApplication (29.35s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_Tags (52.64s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	694.257s
$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSKinesisAnalyticsApplication_' ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 3 -run=TestAccAWSKinesisAnalyticsApplication_ -timeout 120m
=== RUN   TestAccAWSKinesisAnalyticsApplication_basic
=== PAUSE TestAccAWSKinesisAnalyticsApplication_basic
=== RUN   TestAccAWSKinesisAnalyticsApplication_disappears
=== PAUSE TestAccAWSKinesisAnalyticsApplication_disappears
=== RUN   TestAccAWSKinesisAnalyticsApplication_Tags
=== PAUSE TestAccAWSKinesisAnalyticsApplication_Tags
=== RUN   TestAccAWSKinesisAnalyticsApplication_Code_Update
=== PAUSE TestAccAWSKinesisAnalyticsApplication_Code_Update
=== RUN   TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Add
=== PAUSE TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Add
=== RUN   TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Delete
=== PAUSE TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Delete
=== RUN   TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Update
=== PAUSE TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Update
=== RUN   TestAccAWSKinesisAnalyticsApplication_Input_Add
=== PAUSE TestAccAWSKinesisAnalyticsApplication_Input_Add
=== RUN   TestAccAWSKinesisAnalyticsApplication_Input_Update
=== PAUSE TestAccAWSKinesisAnalyticsApplication_Input_Update
=== RUN   TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Add
=== PAUSE TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Add
=== RUN   TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Delete
=== PAUSE TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Delete
=== RUN   TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Update
=== PAUSE TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Update
=== RUN   TestAccAWSKinesisAnalyticsApplication_Multiple_Update
=== PAUSE TestAccAWSKinesisAnalyticsApplication_Multiple_Update
=== RUN   TestAccAWSKinesisAnalyticsApplication_Output_Update
=== PAUSE TestAccAWSKinesisAnalyticsApplication_Output_Update
=== RUN   TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Add
=== PAUSE TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Add
=== RUN   TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Delete
=== PAUSE TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Delete
=== RUN   TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Update
=== PAUSE TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Update
=== CONT  TestAccAWSKinesisAnalyticsApplication_basic
=== CONT  TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Add
=== CONT  TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Update
--- PASS: TestAccAWSKinesisAnalyticsApplication_basic (16.19s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Delete
--- PASS: TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Update (49.42s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Add
--- PASS: TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Delete (42.04s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_Output_Update
--- PASS: TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Add (39.44s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_Multiple_Update
--- PASS: TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Add (111.09s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Update
--- PASS: TestAccAWSKinesisAnalyticsApplication_Output_Update (123.90s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Delete
--- PASS: TestAccAWSKinesisAnalyticsApplication_Multiple_Update (102.38s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_Input_Update
=== CONT  TestAccAWSKinesisAnalyticsApplication_Input_Add
--- PASS: TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Update (107.48s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_Input_Update (103.23s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Update
--- PASS: TestAccAWSKinesisAnalyticsApplication_Input_Add (104.04s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Delete
--- PASS: TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Update (42.74s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Add
=== CONT  TestAccAWSKinesisAnalyticsApplication_Code_Update
--- PASS: TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Delete (177.05s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Delete (52.90s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_Tags
--- PASS: TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Add (40.27s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_disappears
--- PASS: TestAccAWSKinesisAnalyticsApplication_Code_Update (25.81s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_disappears (15.03s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_Tags (34.98s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	410.567s

@ewbankkit ewbankkit requested a review from a team as a code owner November 10, 2020 19:17
@ghost ghost added size/XXL Managed by automation to categorize the size of a PR. provider Pertains to the provider itself, rather than any interaction with AWS. service/kinesisanalytics Issues and PRs that pertain to the kinesisanalytics service. service/kinesisanalyticsv2 Issues and PRs that pertain to the kinesisanalyticsv2 service. service/s3control Issues and PRs that pertain to the s3control service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Nov 10, 2020
…WSKinesisAnalyticsV2Application_Tags'.

Acceptance test output:

$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSKinesisAnalyticsV2Application_Tags'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSKinesisAnalyticsV2Application_Tags -timeout 120m
=== RUN   TestAccAWSKinesisAnalyticsV2Application_Tags
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_Tags
=== CONT  TestAccAWSKinesisAnalyticsV2Application_Tags
--- PASS: TestAccAWSKinesisAnalyticsV2Application_Tags (45.62s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	45.691s
…_kinesisanalyticsv2_application.

Acceptance test output:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSKinesisAnalyticsApplication_' ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 3 -run=TestAccAWSKinesisAnalyticsApplication_ -timeout 120m
=== RUN   TestAccAWSKinesisAnalyticsApplication_basic
=== PAUSE TestAccAWSKinesisAnalyticsApplication_basic
=== RUN   TestAccAWSKinesisAnalyticsApplication_disappears
=== PAUSE TestAccAWSKinesisAnalyticsApplication_disappears
=== RUN   TestAccAWSKinesisAnalyticsApplication_Tags
=== PAUSE TestAccAWSKinesisAnalyticsApplication_Tags
=== RUN   TestAccAWSKinesisAnalyticsApplication_Code_Update
=== PAUSE TestAccAWSKinesisAnalyticsApplication_Code_Update
=== RUN   TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Add
=== PAUSE TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Add
=== RUN   TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Delete
=== PAUSE TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Delete
=== RUN   TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Update
=== PAUSE TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Update
=== RUN   TestAccAWSKinesisAnalyticsApplication_Input_Add
=== PAUSE TestAccAWSKinesisAnalyticsApplication_Input_Add
=== RUN   TestAccAWSKinesisAnalyticsApplication_Input_Update
=== PAUSE TestAccAWSKinesisAnalyticsApplication_Input_Update
=== RUN   TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Add
=== PAUSE TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Add
=== RUN   TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Delete
=== PAUSE TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Delete
=== RUN   TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Update
=== PAUSE TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Update
=== RUN   TestAccAWSKinesisAnalyticsApplication_Multiple_Update
=== PAUSE TestAccAWSKinesisAnalyticsApplication_Multiple_Update
=== RUN   TestAccAWSKinesisAnalyticsApplication_Output_Update
=== PAUSE TestAccAWSKinesisAnalyticsApplication_Output_Update
=== RUN   TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Add
=== PAUSE TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Add
=== RUN   TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Delete
=== PAUSE TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Delete
=== RUN   TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Update
=== PAUSE TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Update
=== CONT  TestAccAWSKinesisAnalyticsApplication_basic
=== CONT  TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Add
=== CONT  TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Update
--- PASS: TestAccAWSKinesisAnalyticsApplication_basic (17.39s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Delete
--- PASS: TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Update (49.81s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Add
--- PASS: TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Delete (41.53s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_Output_Update
2020/11/06 16:47:24 [DEBUG] Trying to get account information via sts:GetCallerIdentity
--- PASS: TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Add (37.97s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_Multiple_Update
--- PASS: TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Add (109.47s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Update
--- PASS: TestAccAWSKinesisAnalyticsApplication_Output_Update (128.93s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Delete
--- PASS: TestAccAWSKinesisAnalyticsApplication_Multiple_Update (107.80s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Delete
--- PASS: TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Update (117.86s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_Input_Update
--- PASS: TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Delete (38.04s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_Input_Add
--- PASS: TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Delete (109.42s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Update
--- PASS: TestAccAWSKinesisAnalyticsApplication_Input_Update (105.51s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_Code_Update
--- PASS: TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Update (40.42s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Add
--- PASS: TestAccAWSKinesisAnalyticsApplication_Input_Add (115.13s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_Tags
--- PASS: TestAccAWSKinesisAnalyticsApplication_Code_Update (25.23s)
=== CONT  TestAccAWSKinesisAnalyticsApplication_disappears
--- PASS: TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Add (39.08s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_disappears (24.64s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_Tags (35.11s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	383.928s
…s_kinesis_analytics_application.

Acceptance test output:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSKinesisAnalyticsV2Application_' ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 3 -run=TestAccAWSKinesisAnalyticsV2Application_ -timeout 120m
=== RUN   TestAccAWSKinesisAnalyticsV2Application_basicFlinkApplication
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_basicFlinkApplication
=== RUN   TestAccAWSKinesisAnalyticsV2Application_basicSQLApplication
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_basicSQLApplication
=== RUN   TestAccAWSKinesisAnalyticsV2Application_disappears
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_disappears
=== RUN   TestAccAWSKinesisAnalyticsV2Application_Tags
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_Tags
=== RUN   TestAccAWSKinesisAnalyticsV2Application_ApplicationCodeConfiguration_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_ApplicationCodeConfiguration_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Add
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Add
=== RUN   TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Delete
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Delete
=== RUN   TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_EnvironmentProperties_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_EnvironmentProperties_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_EnvironmentProperties_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_EnvironmentProperties_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_ServiceExecutionRole_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_ServiceExecutionRole_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Add
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Add
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Add
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Add
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Delete
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Delete
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Multiple_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Multiple_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Output_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Output_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Add
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Add
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Delete
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Delete
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Update
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Add
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Add
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Delete
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Delete
=== RUN   TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Update
=== PAUSE TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Update
=== CONT  TestAccAWSKinesisAnalyticsV2Application_basicFlinkApplication
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Update
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_basicFlinkApplication (26.20s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Delete
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Update (71.51s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Add
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Delete (68.34s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Update (121.01s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Delete
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Add (67.49s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Add
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Update (94.78s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Output_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Delete (123.77s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Multiple_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Add (112.58s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Update
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Delete
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Output_Update (158.07s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Multiple_Update (132.49s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Add
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Update (140.69s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Add
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Delete (119.33s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_ServiceExecutionRole_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Add (118.00s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_EnvironmentProperties_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_ServiceExecutionRole_Update (37.92s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Add (114.59s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_EnvironmentProperties_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_EnvironmentProperties_Update (69.15s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_Update (82.14s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Delete
--- PASS: TestAccAWSKinesisAnalyticsV2Application_EnvironmentProperties_Update (90.87s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Add
--- PASS: TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Update (42.63s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_ApplicationCodeConfiguration_Update
--- PASS: TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Delete (39.69s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_Tags
--- PASS: TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Add (40.34s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_disappears
--- PASS: TestAccAWSKinesisAnalyticsV2Application_ApplicationCodeConfiguration_Update (37.61s)
=== CONT  TestAccAWSKinesisAnalyticsV2Application_basicSQLApplication
--- PASS: TestAccAWSKinesisAnalyticsV2Application_disappears (31.09s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_Tags (47.07s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_basicSQLApplication (33.66s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	678.408s
Acceptance test output:

$ TEST=./aws SWEEP=us-west-2 SWEEPARGS=-sweep-run=aws_kinesisanalyticsv2_application make sweep
WARNING: This will destroy infrastructure. Use only in development accounts.
go test ./aws -v -sweep=us-west-2 -sweep-run=aws_kinesisanalyticsv2_application -timeout 60m
2020/11/08 16:58:14 [DEBUG] Running Sweepers for region (us-west-2):
2020/11/08 16:58:14 [DEBUG] Running Sweeper (aws_kinesisanalyticsv2_application) in region (us-west-2)
2020/11/08 16:58:14 [INFO] AWS Auth provider used: "EnvProvider"
2020/11/08 16:58:14 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2020/11/08 16:58:14 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2020/11/08 16:58:15 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-0)
2020/11/08 16:58:15 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:16 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:17 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-1)
2020/11/08 16:58:17 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:18 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-10)
2020/11/08 16:58:18 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:19 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:20 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-11)
2020/11/08 16:58:20 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:20 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:21 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-12)
2020/11/08 16:58:22 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:22 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:23 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-13)
2020/11/08 16:58:23 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:24 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-14)
2020/11/08 16:58:24 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:25 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:26 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-15)
2020/11/08 16:58:26 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:27 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:28 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-16)
2020/11/08 16:58:28 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:29 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-17)
2020/11/08 16:58:29 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:30 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-18)
2020/11/08 16:58:31 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:31 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-19)
2020/11/08 16:58:32 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:32 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-2)
2020/11/08 16:58:33 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:33 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:34 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-20)
2020/11/08 16:58:35 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:35 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:36 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-21)
2020/11/08 16:58:36 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:37 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:38 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-22)
2020/11/08 16:58:38 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:39 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-23)
2020/11/08 16:58:39 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:39 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:40 [TRACE] Waiting 400ms before next try
2020/11/08 16:58:41 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-24)
2020/11/08 16:58:41 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:42 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:42 [TRACE] Waiting 400ms before next try
2020/11/08 16:58:43 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-25)
2020/11/08 16:58:44 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:44 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:45 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-26)
2020/11/08 16:58:46 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:46 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-27)
2020/11/08 16:58:47 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:47 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:48 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-28)
2020/11/08 16:58:48 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:49 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:50 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-29)
2020/11/08 16:58:50 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:51 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-3)
2020/11/08 16:58:51 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:52 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:52 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-4)
2020/11/08 16:58:53 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:53 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:54 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-5)
2020/11/08 16:58:55 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:55 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:56 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-6)
2020/11/08 16:58:56 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:57 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:57 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-7)
2020/11/08 16:58:58 [DEBUG] Waiting for state to become: []
2020/11/08 16:58:58 [TRACE] Waiting 200ms before next try
2020/11/08 16:58:59 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-8)
2020/11/08 16:58:59 [DEBUG] Waiting for state to become: []
2020/11/08 16:59:00 [TRACE] Waiting 200ms before next try
2020/11/08 16:59:01 [DEBUG] Deleting Kinesis Analytics v2 Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test001-9)
2020/11/08 16:59:01 [DEBUG] Waiting for state to become: []
2020/11/08 16:59:01 Sweeper Tests ran successfully:
	- aws_kinesisanalyticsv2_application
ok  	github.com/terraform-providers/terraform-provider-aws/aws	47.777s
Acceptance test output:

$ TEST=./aws SWEEP=us-west-2 SWEEPARGS=-sweep-run=aws_kinesis_analytics_application make sweep
WARNING: This will destroy infrastructure. Use only in development accounts.
go test ./aws -v -sweep=us-west-2 -sweep-run=aws_kinesis_analytics_application -timeout 60m
2020/11/08 17:24:52 [DEBUG] Running Sweepers for region (us-west-2):
2020/11/08 17:24:52 [DEBUG] Running Sweeper (aws_kinesis_analytics_application) in region (us-west-2)
2020/11/08 17:24:52 [INFO] AWS Auth provider used: "EnvProvider"
2020/11/08 17:24:52 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2020/11/08 17:24:53 [DEBUG] Trying to get account information via sts:GetCallerIdentity
2020/11/08 17:24:54 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-0)
2020/11/08 17:24:54 [DEBUG] Waiting for state to become: []
2020/11/08 17:24:55 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-1)
2020/11/08 17:24:55 [DEBUG] Waiting for state to become: []
2020/11/08 17:24:56 [TRACE] Waiting 200ms before next try
2020/11/08 17:24:57 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-10)
2020/11/08 17:24:57 [DEBUG] Waiting for state to become: []
2020/11/08 17:24:58 [TRACE] Waiting 200ms before next try
2020/11/08 17:24:59 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-11)
2020/11/08 17:24:59 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:00 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-12)
2020/11/08 17:25:00 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:00 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:01 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-13)
2020/11/08 17:25:02 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:02 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:03 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-14)
2020/11/08 17:25:04 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:04 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-15)
2020/11/08 17:25:05 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:05 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:06 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-16)
2020/11/08 17:25:06 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:07 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-17)
2020/11/08 17:25:07 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:08 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-18)
2020/11/08 17:25:09 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:09 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:10 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-19)
2020/11/08 17:25:11 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:11 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:12 [TRACE] Waiting 400ms before next try
2020/11/08 17:25:13 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-2)
2020/11/08 17:25:13 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:14 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-20)
2020/11/08 17:25:14 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:15 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:15 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-21)
2020/11/08 17:25:16 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:16 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:17 [TRACE] Waiting 400ms before next try
2020/11/08 17:25:18 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-22)
2020/11/08 17:25:18 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:19 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:20 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-23)
2020/11/08 17:25:20 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:20 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:21 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-24)
2020/11/08 17:25:22 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:22 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-25)
2020/11/08 17:25:23 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:23 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:24 [TRACE] Waiting 400ms before next try
2020/11/08 17:25:25 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-26)
2020/11/08 17:25:25 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:25 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:27 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-27)
2020/11/08 17:25:27 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:28 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-28)
2020/11/08 17:25:28 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:29 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:29 [TRACE] Waiting 400ms before next try
2020/11/08 17:25:30 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-29)
2020/11/08 17:25:31 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:31 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:32 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-3)
2020/11/08 17:25:32 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:33 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:33 [TRACE] Waiting 400ms before next try
2020/11/08 17:25:34 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-4)
2020/11/08 17:25:35 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:36 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-5)
2020/11/08 17:25:36 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:36 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:37 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-6)
2020/11/08 17:25:38 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:38 [TRACE] Waiting 200ms before next try
2020/11/08 17:25:39 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-7)
2020/11/08 17:25:39 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:40 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-8)
2020/11/08 17:25:40 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:41 [DEBUG] Deleting Kinesis Analytics Application (arn:aws:kinesisanalytics:us-west-2:346386234494:application/test002-9)
2020/11/08 17:25:42 [DEBUG] Waiting for state to become: []
2020/11/08 17:25:42 Sweeper Tests ran successfully:
	- aws_kinesis_analytics_application
ok  	github.com/terraform-providers/terraform-provider-aws/aws	49.602s
@ewbankkit ewbankkit force-pushed the td-aws_kinesisanalyticsv2_application-refactor branch from 2ec8880 to 261a32f Compare November 10, 2020 19:19
@ewbankkit ewbankkit removed service/s3control Issues and PRs that pertain to the s3control service. provider Pertains to the provider itself, rather than any interaction with AWS. labels Nov 10, 2020
@DrFaust92 DrFaust92 assigned DrFaust92 and unassigned DrFaust92 Nov 10, 2020
Copy link
Collaborator

@DrFaust92 DrFaust92 left a comment

Choose a reason for hiding this comment

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

LGTM

--- PASS: TestAccAWSKinesisAnalyticsV2Application_basicFlinkApplication (52.56s)--- PASS: TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Update (86.42s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_ApplicationCodeConfiguration_Update (78.66s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Update (181.61s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_ServiceExecutionRole_Update (80.02s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Input_Add (210.77s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_EnvironmentProperties_Update (263.61s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_disappears (48.62s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_FlinkApplicationConfiguration_Update (294.22s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_basicSQLApplication (54.90s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_EnvironmentProperties_Update (304.88s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Add (192.68s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Delete (184.11s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Update (461.42s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Delete (465.78s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Update (183.36s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Multiple_Update (205.04s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_Output_Update (272.31s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Add (302.15s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Delete (213.06s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Delete (83.95s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_InputProcessingConfiguration_Add (199.89s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_ReferenceDataSource_Update (187.57s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_Tags (112.33s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_CloudWatchLoggingOptions_Add (91.18s)

--- PASS: TestAccAWSKinesisAnalyticsApplication_basic (37.59s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Add (96.51s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Add (184.82s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_Output_Update (206.72s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_Multiple_Update (196.75s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Update (179.12s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Delete (77.51s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_InputProcessingConfiguration_Delete (178.32s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Update (86.73s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_Input_Add (167.49s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_Input_Update (174.65s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_Code_Update (61.37s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_Tags (89.49s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_disappears (25.00s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Delete (109.61s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_ReferenceDataSource_Update (132.02s)
--- PASS: TestAccAWSKinesisAnalyticsApplication_CloudWatchLoggingOptions_Add (82.44s)

@YakDriver YakDriver self-assigned this Nov 11, 2020
Copy link
Member

@YakDriver YakDriver left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks @ewbankkit!

GovCloud (run twice to make sure, no eventually consistency issues):

--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Update (175.76s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Delete (191.92s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Add (193.08s)

Commercial:

--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Delete (167.98s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Add (172.26s)
--- PASS: TestAccAWSKinesisAnalyticsV2Application_SQLApplicationConfiguration_VPCConfiguration_Update (181.74s)

@YakDriver YakDriver added this to the v3.15.0 milestone Nov 11, 2020
@YakDriver YakDriver merged commit ab4b6b2 into hashicorp:master Nov 11, 2020
@ewbankkit ewbankkit deleted the td-aws_kinesisanalyticsv2_application-refactor branch November 11, 2020 14:16
@ghost
Copy link

ghost commented Nov 12, 2020

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

@ghost
Copy link

ghost commented Dec 11, 2020

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!

@ghost ghost locked as resolved and limited conversation to collaborators Dec 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/kinesisanalytics Issues and PRs that pertain to the kinesisanalytics service. service/kinesisanalyticsv2 Issues and PRs that pertain to the kinesisanalyticsv2 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
Development

Successfully merging this pull request may close these issues.

tests/provider: Flaky Kinesis Analytics v2 tests on GovCloud
3 participants