Resolve Can’t Configure Value for ACL with Terraform in Terminal on Mac - VicPhanDevOps/mac GitHub Wiki
• The follow resolution is for if you an error saying you can’t configure a value for ACL.
•
• Type vim < Terraform file >.tf
and press “return” key to create Terraform file in Vim text editor.
•
• Press “I” key to get into insert mode, type terraform {
and press “return” key to define terraform settings and open the scope.
•
• Press spacebar twice to increase indent, type required_providers {
and press “return” key to define required_providers
settings and open the scope.
•
• Press spacebar four times to increase indent, type aws = {
and press “return” key to define aws
settings and open the scope.
•
• Press spacebar six times to increase indent, type source < align equal sign > = “hashicorp/aws” and press “return” key to set the source to hashicorp/aws.
•
• Press spacebar six times to increase indent, type version < align equal sign > = “~> 3.74.2”
and press “return” key to set the version to roughly 3.74.2.
•
• Press spacebar four times to increase indent, type }
and press “return” key to close the scope for aws
settings.
•
• Press spacebar four times to increase indent, type consul = {
and press “return” key to define consul
settings and open the scope.
•
• Press spacebar six times to increase indent, type source = “hashicorp/consul”
and press “return” key to set the source to hashicorp/consul
.
•
• Press spacebar four times to increase indent, type }
and press “return” key to close the scope for consul
settings.
•
• Press spacebar twice to increase indent, type }
and press “return” key to close the scope for required_providers
settings.
•
• Press spacebar twice to increase indent, type required_version = “>= 0.13”
to set required version to greater than or equal to 0.13.
•
• Type }
and press “return” key twice to close scope for terraform settings.
•
• Press “Esc” key to get out of insert mode, type :wq
and press “return” key to save and exit the text editor.
•
• Type terraform init -upgrade
and press “return” key to initialize Terraform.
•
• Type terraform apply
and press “return” key to apply configuration without receiving the error this time.
•
• Type yes
and press “return” key to confirm.
•
• Type terraform show
and press “return” key to see the resources.
•