You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run terraform state show aws_s3_bucket_notification.my_notification, I see that the state contains 'id' field with the name of the bucket and no 'bucket' field.
The text was updated successfully, but these errors were encountered:
Terraform Version
Terraform v0.9.8
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
If I have an S3 bucket notification set up in AWS already, and when I run
import aws_s3_bucket_notification.my_notification my_bucket
I expect terraform to reconcile the state with my manual config and not attempt to create a new notification resource.
Actual Behavior
When I run
terraform plan
, I see this:-/+ aws_s3_bucket_notification.my_notification
bucket: "" => "my_bucket" (forces new resource)
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform import aws_s3_bucket_notification.my_notification my_bucket
terraform plan
Important Factoids
If I run
terraform state show aws_s3_bucket_notification.my_notification
, I see that the state contains 'id' field with the name of the bucket and no 'bucket' field.The text was updated successfully, but these errors were encountered: