-
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
r/sns_topic - add firehose args #19528
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.
LGTM 🚀.
Commercial
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSSNSTopic_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSNSTopic_ -timeout 180m
=== RUN TestAccAWSSNSTopic_basic
=== PAUSE TestAccAWSSNSTopic_basic
=== RUN TestAccAWSSNSTopic_Name
=== PAUSE TestAccAWSSNSTopic_Name
=== RUN TestAccAWSSNSTopic_NamePrefix
=== PAUSE TestAccAWSSNSTopic_NamePrefix
=== RUN TestAccAWSSNSTopic_policy
=== PAUSE TestAccAWSSNSTopic_policy
=== RUN TestAccAWSSNSTopic_withIAMRole
=== PAUSE TestAccAWSSNSTopic_withIAMRole
=== RUN TestAccAWSSNSTopic_withFakeIAMRole
=== PAUSE TestAccAWSSNSTopic_withFakeIAMRole
=== RUN TestAccAWSSNSTopic_withDeliveryPolicy
=== PAUSE TestAccAWSSNSTopic_withDeliveryPolicy
=== RUN TestAccAWSSNSTopic_deliveryStatus
=== PAUSE TestAccAWSSNSTopic_deliveryStatus
=== RUN TestAccAWSSNSTopic_Name_Generated_FIFOTopic
=== PAUSE TestAccAWSSNSTopic_Name_Generated_FIFOTopic
=== RUN TestAccAWSSNSTopic_Name_FIFOTopic
=== PAUSE TestAccAWSSNSTopic_Name_FIFOTopic
=== RUN TestAccAWSSNSTopic_NamePrefix_FIFOTopic
=== PAUSE TestAccAWSSNSTopic_NamePrefix_FIFOTopic
=== RUN TestAccAWSSNSTopic_FIFOWithContentBasedDeduplication
=== PAUSE TestAccAWSSNSTopic_FIFOWithContentBasedDeduplication
=== RUN TestAccAWSSNSTopic_FIFOExpectContentBasedDeduplicationError
=== PAUSE TestAccAWSSNSTopic_FIFOExpectContentBasedDeduplicationError
=== RUN TestAccAWSSNSTopic_encryption
=== PAUSE TestAccAWSSNSTopic_encryption
=== RUN TestAccAWSSNSTopic_tags
=== PAUSE TestAccAWSSNSTopic_tags
=== RUN TestAccAWSSNSTopic_disappears
=== PAUSE TestAccAWSSNSTopic_disappears
=== CONT TestAccAWSSNSTopic_basic
=== CONT TestAccAWSSNSTopic_Name_FIFOTopic
=== CONT TestAccAWSSNSTopic_withFakeIAMRole
=== CONT TestAccAWSSNSTopic_disappears
=== CONT TestAccAWSSNSTopic_tags
=== CONT TestAccAWSSNSTopic_encryption
=== CONT TestAccAWSSNSTopic_FIFOExpectContentBasedDeduplicationError
=== CONT TestAccAWSSNSTopic_FIFOWithContentBasedDeduplication
=== CONT TestAccAWSSNSTopic_NamePrefix_FIFOTopic
=== CONT TestAccAWSSNSTopic_policy
=== CONT TestAccAWSSNSTopic_withIAMRole
=== CONT TestAccAWSSNSTopic_Name_Generated_FIFOTopic
=== CONT TestAccAWSSNSTopic_Name
=== CONT TestAccAWSSNSTopic_deliveryStatus
=== CONT TestAccAWSSNSTopic_withDeliveryPolicy
=== CONT TestAccAWSSNSTopic_NamePrefix
--- PASS: TestAccAWSSNSTopic_FIFOExpectContentBasedDeduplicationError (6.11s)
--- PASS: TestAccAWSSNSTopic_disappears (18.21s)
--- PASS: TestAccAWSSNSTopic_basic (22.01s)
--- PASS: TestAccAWSSNSTopic_Name_Generated_FIFOTopic (23.66s)
--- PASS: TestAccAWSSNSTopic_Name_FIFOTopic (25.54s)
--- PASS: TestAccAWSSNSTopic_withDeliveryPolicy (25.61s)
--- PASS: TestAccAWSSNSTopic_Name (25.76s)
--- PASS: TestAccAWSSNSTopic_NamePrefix_FIFOTopic (25.81s)
--- PASS: TestAccAWSSNSTopic_NamePrefix (25.89s)
--- PASS: TestAccAWSSNSTopic_policy (26.04s)
--- PASS: TestAccAWSSNSTopic_withIAMRole (32.65s)
--- PASS: TestAccAWSSNSTopic_encryption (38.04s)
--- PASS: TestAccAWSSNSTopic_FIFOWithContentBasedDeduplication (38.22s)
--- PASS: TestAccAWSSNSTopic_deliveryStatus (38.56s)
--- PASS: TestAccAWSSNSTopic_tags (47.57s)
--- PASS: TestAccAWSSNSTopic_withFakeIAMRole (131.24s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 134.253s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSSNSTopic_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSSNSTopic_ -timeout 180m
=== RUN TestAccAWSSNSTopic_basic
=== PAUSE TestAccAWSSNSTopic_basic
=== RUN TestAccAWSSNSTopic_Name
=== PAUSE TestAccAWSSNSTopic_Name
=== RUN TestAccAWSSNSTopic_NamePrefix
=== PAUSE TestAccAWSSNSTopic_NamePrefix
=== RUN TestAccAWSSNSTopic_policy
=== PAUSE TestAccAWSSNSTopic_policy
=== RUN TestAccAWSSNSTopic_withIAMRole
=== PAUSE TestAccAWSSNSTopic_withIAMRole
=== RUN TestAccAWSSNSTopic_withFakeIAMRole
=== PAUSE TestAccAWSSNSTopic_withFakeIAMRole
=== RUN TestAccAWSSNSTopic_withDeliveryPolicy
=== PAUSE TestAccAWSSNSTopic_withDeliveryPolicy
=== RUN TestAccAWSSNSTopic_deliveryStatus
=== PAUSE TestAccAWSSNSTopic_deliveryStatus
=== RUN TestAccAWSSNSTopic_Name_Generated_FIFOTopic
=== PAUSE TestAccAWSSNSTopic_Name_Generated_FIFOTopic
=== RUN TestAccAWSSNSTopic_Name_FIFOTopic
=== PAUSE TestAccAWSSNSTopic_Name_FIFOTopic
=== RUN TestAccAWSSNSTopic_NamePrefix_FIFOTopic
=== PAUSE TestAccAWSSNSTopic_NamePrefix_FIFOTopic
=== RUN TestAccAWSSNSTopic_FIFOWithContentBasedDeduplication
=== PAUSE TestAccAWSSNSTopic_FIFOWithContentBasedDeduplication
=== RUN TestAccAWSSNSTopic_FIFOExpectContentBasedDeduplicationError
=== PAUSE TestAccAWSSNSTopic_FIFOExpectContentBasedDeduplicationError
=== RUN TestAccAWSSNSTopic_encryption
=== PAUSE TestAccAWSSNSTopic_encryption
=== RUN TestAccAWSSNSTopic_tags
=== PAUSE TestAccAWSSNSTopic_tags
=== RUN TestAccAWSSNSTopic_disappears
=== PAUSE TestAccAWSSNSTopic_disappears
=== CONT TestAccAWSSNSTopic_basic
=== CONT TestAccAWSSNSTopic_Name_FIFOTopic
=== CONT TestAccAWSSNSTopic_encryption
=== CONT TestAccAWSSNSTopic_policy
=== CONT TestAccAWSSNSTopic_Name
=== CONT TestAccAWSSNSTopic_FIFOWithContentBasedDeduplication
=== CONT TestAccAWSSNSTopic_FIFOExpectContentBasedDeduplicationError
=== CONT TestAccAWSSNSTopic_deliveryStatus
=== CONT TestAccAWSSNSTopic_withFakeIAMRole
=== CONT TestAccAWSSNSTopic_withDeliveryPolicy
=== CONT TestAccAWSSNSTopic_NamePrefix_FIFOTopic
=== CONT TestAccAWSSNSTopic_tags
=== CONT TestAccAWSSNSTopic_Name_Generated_FIFOTopic
=== CONT TestAccAWSSNSTopic_withIAMRole
=== CONT TestAccAWSSNSTopic_disappears
=== CONT TestAccAWSSNSTopic_NamePrefix
--- PASS: TestAccAWSSNSTopic_FIFOExpectContentBasedDeduplicationError (8.34s)
=== CONT TestAccAWSSNSTopic_NamePrefix_FIFOTopic
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/05/26 09:28:10 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating SNS Topic (tf-acc-test-prefix-20210526132813653100000009.fifo): InvalidParameter: Invalid parameter: Attributes Reason: Unknown attribute FifoTopic
status code: 400, request id: 83357b6a-1268-5964-a463-22425d457869
on terraform_plugin_test.tf line 2, in resource "aws_sns_topic" "test":
2: resource "aws_sns_topic" "test" {
=== CONT TestAccAWSSNSTopic_Name_Generated_FIFOTopic
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/05/26 09:28:10 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating SNS Topic (terraform-20210526132813641500000007.fifo): InvalidParameter: Invalid parameter: Attributes Reason: Unknown attribute FifoTopic
status code: 400, request id: 3ffa16f8-366e-5a83-a5b1-4fd07943398f
on terraform_plugin_test.tf line 2, in resource "aws_sns_topic" "test":
2: resource "aws_sns_topic" "test" {
=== CONT TestAccAWSSNSTopic_FIFOWithContentBasedDeduplication
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/05/26 09:28:10 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating SNS Topic (terraform-test-topic-gjeffba2xv.fifo): InvalidParameter: Invalid parameter: Attributes Reason: Unknown attribute FifoTopic
status code: 400, request id: 8bfe25fc-99ff-5ce1-a8fd-7cd4d6d21dcc
on terraform_plugin_test.tf line 2, in resource "aws_sns_topic" "test":
2: resource "aws_sns_topic" "test" {
=== CONT TestAccAWSSNSTopic_Name_FIFOTopic
provider_test.go:1103: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
2021/05/26 09:28:11 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
Error: error creating SNS Topic (tf-acc-test-8095600753192609537.fifo): InvalidParameter: Invalid parameter: Attributes Reason: Unknown attribute FifoTopic
status code: 400, request id: faca1dff-728e-5cc7-8c96-44d73da001e0
on terraform_plugin_test.tf line 2, in resource "aws_sns_topic" "test":
2: resource "aws_sns_topic" "test" {
--- SKIP: TestAccAWSSNSTopic_NamePrefix_FIFOTopic (11.70s)
--- SKIP: TestAccAWSSNSTopic_Name_Generated_FIFOTopic (11.72s)
--- SKIP: TestAccAWSSNSTopic_FIFOWithContentBasedDeduplication (11.73s)
--- SKIP: TestAccAWSSNSTopic_Name_FIFOTopic (11.78s)
--- PASS: TestAccAWSSNSTopic_disappears (20.16s)
--- PASS: TestAccAWSSNSTopic_NamePrefix (25.69s)
--- PASS: TestAccAWSSNSTopic_withDeliveryPolicy (27.08s)
--- PASS: TestAccAWSSNSTopic_basic (27.21s)
--- PASS: TestAccAWSSNSTopic_Name (27.41s)
--- PASS: TestAccAWSSNSTopic_policy (27.45s)
--- PASS: TestAccAWSSNSTopic_withIAMRole (35.06s)
--- PASS: TestAccAWSSNSTopic_encryption (40.61s)
--- PASS: TestAccAWSSNSTopic_deliveryStatus (42.39s)
--- PASS: TestAccAWSSNSTopic_tags (60.14s)
--- PASS: TestAccAWSSNSTopic_withFakeIAMRole (134.61s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 137.590s
This has been released in version 3.43.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 pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #19491
Output from acceptance testing: