[COS] Lifecycle Configuration not fully complete on terraform apply #5778
Labels
service/Object Storage
Issues related to Cloud Object Storage
service/Resource Management
Issues related to Resource Manager or Resource controller Issues
Community Note
Terraform CLI and Terraform IBM 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.
main.tf
variables.tf
providers.tf
version.tf
outputs.tf
Debug Output
logs.txt
Panic Output
Expected Behavior
The plan should not have failed due to not being able to fetch the Lifecycle Configuration that was just created.
Actual Behavior
It fails to fetch the lifecyle configuration. If you give it a few more seconds and run the plan it will pass. This suggests the lifecyle policy is not fully complete yet being marked as complete by terraform. Adding a 30second sleep on create fixes this.
Steps to Reproduce
terraform apply
terraform plan
ran instantly after the apply completes.Important Factoids
References
The text was updated successfully, but these errors were encountered: