Skip to content

Instantly share code, notes, and snippets.

@melvinsoft
Created March 31, 2017 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save melvinsoft/06d5f662ecf9cc7d8eb29bff433612b6 to your computer and use it in GitHub Desktop.
Save melvinsoft/06d5f662ecf9cc7d8eb29bff433612b6 to your computer and use it in GitHub Desktop.
(ax) melvin@macbook-pro:~/Appsembler/Code/ax$ ax --work-dir /Users/melvin/Appsembler/Code/ --disable-branch-checking terraform -c hioa -e prod -t pro -p gcp --google-credentials-file /keybase/private/melvinsoft/HIOA-6fda1cfcad12.json --aws-credentials-file /keybase/private/melvinsoft/aws-terraform.csv plan
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.
google_compute_network.edxapp: Refreshing state... (ID: prod-hioa-euc)
google_storage_bucket.backups: Refreshing state... (ID: prod-hioa-euc-backups)
google_compute_address.mongo: Refreshing state... (ID: prod-hioa-euc-mongo-0)
google_compute_address.edxapp: Refreshing state... (ID: prod-hioa-euc-edxapp-0)
google_sql_database_instance.mysql_master: Refreshing state... (ID: prod-hioa-euc-mysql-master-1)
google_compute_subnetwork.edxapp: Refreshing state... (ID: europe-west1/prod-hioa-euc-edxapp)
google_compute_firewall.edxapp: Refreshing state... (ID: prod-hioa-euc-edxapp)
google_compute_firewall.ssh: Refreshing state... (ID: prod-hioa-euc-ssh)
google_compute_firewall.internal: Refreshing state... (ID: prod-hioa-euc-internal)
google_compute_instance.mongo: Refreshing state... (ID: prod-hioa-euc-mongo-0)
google_compute_instance.edxapp: Refreshing state... (ID: prod-hioa-euc-edxapp-0)
google_storage_bucket_acl.backups: Refreshing state... (ID: prod-hioa-euc-backups-acl)
google_sql_user.root: Refreshing state... (ID: root)
aws_iam_user.user: Refreshing state... (ID: prod-hioa-euc-user)
aws_s3_bucket.bucket: Refreshing state... (ID: prod-hioa-euc-bucket)
aws_iam_access_key.user_key: Refreshing state... (ID: AKIAJGILLCJRPLUAMDFQ)
aws_iam_user_policy.user_policy: Refreshing state... (ID: prod-hioa-euc-user:prod-hioa-euc-policy)
The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.
Your plan was also saved to the path below. Call the "apply" subcommand
with this plan file and Terraform will exactly execute this execution
plan.
Path: hioa/prod/tmp.plan
<= data.google_iam_policy.storage_object_admin
binding.#: "1"
binding.~3169772283.members.#: "<computed>"
binding.~3169772283.role: "roles/storage.objectAdmin"
policy_data: "<computed>"
+ google_service_account.backups
account_id: "prod-hioa-backups"
display_name: "prod-hioa-backups"
email: "<computed>"
name: "<computed>"
unique_id: "<computed>"
+ google_service_account.insights
account_id: "prod-hioa-insights"
display_name: "prod-hioa-insights"
email: "<computed>"
name: "<computed>"
unique_id: "<computed>"
-/+ google_sql_database_instance.mysql_master
database_version: "MYSQL_5_6" => "MYSQL_5_6"
ip_address.#: "1" => "<computed>"
name: "prod-hioa-euc-mysql-master-1" => "prod-hioa-euc-mysql-master-0" (forces new resource)
region: "europe-west1" => "europe-west1"
self_link: "https://www.googleapis.com/sql/v1beta4/projects/hioa-1364/instances/prod-hioa-euc-mysql-master-1" => "<computed>"
settings.#: "1" => "1"
settings.0.activation_policy: "ALWAYS" => "ALWAYS"
settings.0.backup_configuration.#: "1" => "1"
settings.0.backup_configuration.0.binary_log_enabled: "true" => "true"
settings.0.backup_configuration.0.enabled: "true" => "true"
settings.0.backup_configuration.0.start_time: "04:00" => "04:00"
settings.0.ip_configuration.#: "1" => "1"
settings.0.ip_configuration.0.ipv4_enabled: "true" => "true"
settings.0.pricing_plan: "PACKAGE" => "PACKAGE"
settings.0.replication_type: "SYNCHRONOUS" => "SYNCHRONOUS"
settings.0.tier: "db-n1-standard-1" => "db-n1-standard-1"
settings.0.version: "11" => "<computed>"
-/+ google_sql_user.root
host: "%" => "%"
instance: "prod-hioa-euc-mysql-master-1" => "prod-hioa-euc-mysql-master-0" (forces new resource)
name: "root" => "root"
password: "usN6SucWcienRkfypOqFs5FI5tSo06A7" => "usN6SucWcienRkfypOqFs5FI5tSo06A7"
~ google_storage_bucket_acl.backups
role_entity.#: "1" => "<computed>"
Plan: 4 to add, 1 to change, 2 to destroy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment