FAQs On Terraform State File
1. Where I Can Find The Bucket Namespace
Login into the tenancy -> click on your profile on right side -> click on tenancy name(details) -> in tenancy details page see the section Object storage settings -> Object storage namespace.
2. Can The State File Bucket And Deploying Can Be Different
YES , your bucket and deploying tenancy can be same or different . They can be in diff realm as well . Also you can store state file of more than on tenancy using terraform workspace concept.
eg- you can create bucket in R1 but you can deploy resources in OC1 and save the state files in bucket that present in R1.
Terraform State File
Terraform automates the provisioning and administration of infrastructure resources of cloud a well-liked infrastructure-as-code solution. It applies configurations to your infrastructure and manages your infrastructure resources using a variety of commands. It employs configuration files defined in the HashiCorp Configuration Language (HCL) to specify the desired state of your infrastructure.