How To Get Access Of Key And ID?
Open the navigation menu in cloud and click Identity & Security. Under Identity, click Users. Under User Details, click generate Customer Secret Key.
Code To Find
terraform {
backend "s3" {
bucket = "
bucket-name"
key = "
statefilename.tfstate"
region = "
valid-cloud-region-name"
endpoint = "
object-storage-bucket-url"
shared_credentials_file = "
./credential-file-name"
skip_region_validation = true
skip_credentials_validation = true
skip_metadata_api_check = true
force_path_style = true
}
}
endpoint : https://<namespace>.compat.objectstorage.<region>.<domainname>.com
region :
us-phoenix-1
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.