-
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
resource/aws_db_event_subscription: Fix tag ARN handling #4151
Conversation
Additional updates: * Add arn attribute * Support configurable timeouts
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.
👍 1 nitpick, leave if you'd like
return fmt.Errorf("Error creating RDS Event Subscription %s: %s", name, err) | ||
} | ||
|
||
d.SetId(aws.StringValue(output.EventSubscription.CustSubscriptionId)) |
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.
nit: d.SetId
should handle pointers fine (unlike d.Set
, IIRC)
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.
I'd like to do some out of scope testing, but at first look d.SetId()
does not have the same nil value reflection as d.Set()
:
InstanceState.ID
is string
so it'd likely cause an interface panic still if I'm understanding the code correctly.
This has been released in version 1.14.1 of the 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! |
Additional updates:
isAWSErr()
The regression occurred during #4053, which was merged in for release in v1.14.0 of the AWS provider.
Fixes #4138 and the following testing: