Skip to content

Instantly share code, notes, and snippets.

@scalp42
Created March 21, 2019 18:34
Show Gist options
  • Save scalp42/c847168667233b4bf5b89e79dbaa7c0c to your computer and use it in GitHub Desktop.
Save scalp42/c847168667233b4bf5b89e79dbaa7c0c to your computer and use it in GitHub Desktop.
$> terraform plan -out terraform
provider.aws.region
The region where AWS operations will take place. Examples
are us-east-1, us-west-2, etc.
Default: us-east-1
Enter a value: us-west-2
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
data.aws_caller_identity.bridge: Refreshing state...
data.aws_iam_policy_document.s3_changeme_terraform: Refreshing state...
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
+ aws_s3_bucket.changeme-terraform
id: <computed>
acceleration_status: <computed>
acl: "private"
arn: <computed>
bucket: "changeme-terraform"
bucket_domain_name: <computed>
bucket_regional_domain_name: <computed>
force_destroy: "false"
hosted_zone_id: <computed>
policy: "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"s3:ListBucket\",\n \"s3:GetObjectVersion\",\n \"s3:GetObject\",\n \"s3:GetBucketVersioning\",\n \"s3:GetBucketLocation\"\n ],\n \"Resource\": \"arn:aws:s3:::changeme-terraform\",\n \"Principal\": {\n \"AWS\": \"arn:aws:iam::099991368923:root\"\n }\n }\n ]\n}"
region: <computed>
request_payer: <computed>
tags.%: "2"
tags.Name: "changeme-terraform"
tags.terraform: "true"
versioning.#: <computed>
website_domain: <computed>
website_endpoint: <computed>
Plan: 1 to add, 0 to change, 0 to destroy.
------------------------------------------------------------------------
This plan was saved to: terraform
To perform exactly these actions, run the following command to apply:
terraform apply "terraform"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment