-
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
F/aws chime voice connector logging #20863
F/aws chime voice connector logging #20863
Conversation
# Conflicts: # aws/provider.go
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.
Lokks great. Just a couple small changes.
|
||
resp, err := conn.GetVoiceConnectorLoggingConfigurationWithContext(ctx, input) | ||
if !d.IsNewResource() && isAWSErr(err, chime.ErrCodeNotFoundException, "") { | ||
log.Printf("[WARN]Chime Voice Connector logging configuration %s not found", d.Id()) |
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.
Add a space between [WARN]
and the message.
|
||
if _, err := conn.PutVoiceConnectorLoggingConfigurationWithContext(ctx, input); err != nil { | ||
if isAWSErr(err, chime.ErrCodeNotFoundException, "") { | ||
log.Printf("[WARN]Chime Voice Connector logging configuration %s not found", d.Id()) |
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.
Add a space between [WARN]
and the message.
}, | ||
} | ||
|
||
if _, err := conn.PutVoiceConnectorLoggingConfigurationWithContext(ctx, input); err != nil { |
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.
If this returns a not found error, the delete
should not return an error.
…ing' into f/aws_chime_voice_connector_logging # Conflicts: # aws/resource_aws_chime_voice_connector_logging.go # aws/resource_aws_chime_voice_connector_logging_test.go
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
This functionality has been released in v3.59.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. Thank you! |
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
Relates OR Closes #0000
Output from acceptance testing: