aws_ec2_client_vpn_endpoint connection_log_options always needs to be updated #22231
Labels
bug
Addresses a defect in current functionality.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
Expected Behavior
The documentation for the
aws_ec2_client_vpn_endpoint
resourceconnection_log_options
argument(https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_client_vpn_endpoint#connection_log_options-argument-reference) says ONE of
cloudwatch_log_group
orcloudwatch_log_stream
must be specified. However when I only setcloudwatch_log_group
, every time I run plan it says it needs to update theaws_ec2_client_vpn_endpoint
connection_log_options.cloudwatch_log_stream
from a value to null.Actual Behavior
Steps to Reproduce
terraform plan
Important Factoids
References
The text was updated successfully, but these errors were encountered: