terraform-provider-scaleway
terraform-provider-scaleway copied to clipboard
importing an object bucket doesn't import acl
trafficstars
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version
- Terraform v0.13.3
- provider.scaleway v1.16.0
Affected Resource(s)
- scaleway_object_bucket
Terraform Configuration Files
resource "scaleway_object_bucket" "terraform-state-bucket" {
name = "myproject-terraform-state"
acl = "private"
}
Expected Behavior
importing an object bucket should import the acl = "private"
Actual Behavior
acl = "null" instead of acl = "private"
Steps to Reproduce
terraform applymv terraform.tfstate terraform.tfstate.beforeterraform import scaleway_object_bucket.terraform-state-bucket fr-par/myproject-terraform-state"acl" = "null"instead of"acl" = "private"terraform applywill proceed with changes.
If I modify by hand terraform.tfstate to put "acl": "private", then terraform apply won't do any change.