A. Using the remote Terraform backend with Terraform Cloud / Terraform Enterprise.
D. Using an s3 terraform backend with an appropriate IAM policy and dynamodb_field option configured.
E. Using the consul Terraform backend.
To share Terraform state with your team, store it securely, and provide state locking, you can use the following options:
A. Remote Terraform backend with Terraform Cloud or Terraform Enterprise provides state storage, versioning, locking, and integration with workspaces.
D. An S3 backend with an appropriate IAM policy and the dynamodb_field option configured allows you to store your state file in an S3 bucket and use DynamoDB for state locking.
E. The Consul Terraform backend enables you to store the state file in Consul, a distributed key-value store, and provides state locking as well.
A. Using the remote Terraform backend with Terraform Cloud / Terraform Enterprise.
This option allows you to store your Terraform state file securely in a managed service provided by HashiCorp. Terraform Cloud and Terraform Enterprise offer additional features such as access controls, remote execution, and collaboration tools.
D. Using an s3 terraform backend with an appropriate IAM policy and dynamodb_field option configured.
This option enables you to store your Terraform state file in an Amazon S3 bucket, which provides secure storage with access controls. By configuring an appropriate IAM policy, you can ensure that only authorized users and services can access the state file. Additionally, using the dynamodb_field option allows you to enable state file locking with Amazon DynamoDB, preventing multiple users from concurrently modifying the state.
E. Using the consul Terraform backend.
This option allows you to store your Terraform state file in a Consul cluster, a distributed key-value store. Consul provides features like access control lists (ACLs) and TLS encryption to help you secure your state file.
https://developer.hashicorp.com/terraform/language/settings/backends/s3 flag needs to be enabled
upvoted 1 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Oleg_gol
1 year, 6 months agoNunyabiznes
1 year, 7 months agotbhtp
1 year, 7 months agocamps
1 year, 7 months agohahano
1 year, 7 months agooskarq
1 year, 7 months ago