Open simonB2020 opened 3 years ago
Try upgrading to 3.49 or higher. That fixed it for me.
Hi @simonB2020! LakeFormation's permission model has been a tricky service to get right. We have done quite a lot of work on it in concert with a large client and we think it's been resolved now. As @danu165 said, please try 3.49.0 or higher.
I'm also seeing this issue still occurring.
provider version: 4.31.0 terraform version: 1.0.3
FYI: Hitting the same issue here (version 4.48
)
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.13.5 hashicorp/aws v3.39.0 ( as per https://github.com/hashicorp/terraform-provider-aws/issues/17633)
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
First Plan/Apply is as expected:
Running the Pipeline again after the first apply, produces the error whereby plan finds a non-existent 'ALL' permission that apply tries to revoke (unsuccessfully as it does not exist)
Panic Output
Expected Behavior
The second plan/apply should find no changes.
Actual Behavior
The second plan/apply finds a non-existent 'ALL' permissions, tried to revoke it, and fails.
Steps to Reproduce
terraform plan
terraform apply
terraform plan
>> this 3nd plan shows the incorrect permisisonterraform apply
>> 2nd apply results in failureImportant Factoids
References
0000