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
Hello! I really like the idea of managing this through Terraform but was running into some issues using the module. Could it be that it needs to be .id / .arn instead of _id?
Thanks for your help.
╷
│ Error: Unsupported attribute
│
│ on .terraform/modules/arc_backup/main.tf line 89, in data "aws_iam_policy_document" "backup_user_policy":
│ 89: "${module.backup_bucket.this_s3_bucket_id}/*"
│ ├────────────────
│ │ module.backup_bucket is a object, known only after apply
│
│ This object does not have an attribute named "this_s3_bucket_id".
╵
╷
│ Error: Unsupported attribute
│
│ on .terraform/modules/arc_backup/outputs.tf line 12, in output "backup_bucket_name":
│ 12: value = module.backup_bucket.this_s3_bucket_id
│ ├────────────────
│ │ module.backup_bucket is a object, known only after apply
│
│ This object does not have an attribute named "this_s3_bucket_id".
╵
╷
│ Error: Unsupported attribute
│
│ on .terraform/modules/arc_backup/outputs.tf line 16, in output "backup_bucket_arn":
│ 16: value = module.backup_bucket.this_s3_bucket_arn
│ ├────────────────
│ │ module.backup_bucket is a object, known only after apply
│
│ This object does not have an attribute named "this_s3_bucket_arn".
The text was updated successfully, but these errors were encountered:
Hey, @martinklepsch. I kinda threw this up there and moved on from Arq backup. Just seeing this for the first time.
W/out digging into this, I think that the module that I used to create the buckets (terraform-aws-modules/s3-bucket/aws) made some change about 2 years ago that renamed its outputs.
TF pulled the latest version of that mod, when you did your init, because there was no version pinning. You probably found this already, but it's a matter of updating those references to match those of the current module version's outputs.
Hello! I really like the idea of managing this through Terraform but was running into some issues using the module. Could it be that it needs to be
.id
/.arn
instead of_id
?Thanks for your help.
The text was updated successfully, but these errors were encountered: