Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update atlantis #79

Merged
merged 5 commits into from
Jun 6, 2019
Merged

Update atlantis #79

merged 5 commits into from
Jun 6, 2019

Conversation

aknysh
Copy link
Member

@aknysh aknysh commented Jun 5, 2019

what

  • Update atlantis
  • Update VPC and subnets modules for atlantis

why

  • Use the latest atlantis server version 0.8.0
  • Allow users to choose between NAT Gateways or NAT Instances to be deployed into the public subnets to allow the servers in the private subnets to access the Internet
  • In many cases, NAT Instances are cheaper than NAT Gateways, and for some use-cases (e.g. testing/demo infrastructure) are more appropriate to use (e.g. save on cost)

references

@aknysh aknysh requested review from osterman, goruha, maximmi and Nuru June 5, 2019 17:50
@aknysh aknysh self-assigned this Jun 5, 2019
@aknysh
Copy link
Member Author

aknysh commented Jun 6, 2019

atlantis plan -p chamber

1 similar comment
@aknysh
Copy link
Member Author

aknysh commented Jun 6, 2019

atlantis plan -p chamber

@cloudpossebot
Copy link
Member

Ran Plan for project: chamber dir: conf/chamber workspace: default

Show Output
rm -rf Makefile *.tf .terraform
terraform init
Copying configuration from "git::https://github.com/cloudposse/terraform-root-modules.git//aws/chamber?ref=tags/0.35.1"...
Initializing modules...
- module.chamber_kms_key
  Getting source "git::https://github.com/cloudposse/terraform-aws-kms-key.git?ref=tags/0.1.0"
- module.chamber_user
  Getting source "git::https://github.com/cloudposse/terraform-aws-iam-chamber-user.git?ref=tags/0.1.5"
- module.chamber_kms_key.label
  Getting source "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.3.3"
- module.chamber_user.chamber_user
  Getting source "git::https://github.com/cloudposse/terraform-aws-iam-system-user.git?ref=tags/0.3.0"
- module.chamber_user.chamber_user.label
  Getting source "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.3.1"

Initializing the backend...

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.

Initializing provider plugins...
- Checking for available provider plugins on https://releases.hashicorp.com...
- Downloading plugin for provider "aws" (2.13.0)...
- Downloading plugin for provider "null" (2.1.2)...

The following providers do not have any version constraints in configuration,
so the latest version was installed.

To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.

* provider.aws: version = "~> 2.13"
* provider.null: version = "~> 2.1"

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

- module.s3_bucket.aws_s3_bucket.default

- module.s3_bucket.aws_s3_bucket_policy.default

- module.service.aws_iam_policy.default

- module.service.aws_iam_role.default

- module.service.aws_iam_role_policy_attachment.default

- module.s3_bucket.module.default_label.null_resource.default

+ module.chamber_user.module.chamber_user.module.label.null_resource.default
    id:                  <computed>
    triggers.%:          "5"
    triggers.attributes: "codefresh"
    triggers.id:         "cpco-testing-chamber-codefresh"
    triggers.name:       "chamber"
    triggers.namespace:  "cpco"
    triggers.stage:      "testing"

Plan: 1 to add, 0 to change, 6 to destroy.
  • ▶️ To apply this plan, comment:
    • atlantis apply -p chamber
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -p chamber

  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply

@cloudpossebot
Copy link
Member

Warning: The plan for dir: conf/chamber workspace: default was discarded via the Atlantis UI.

To apply this plan you must run plan again.

@aknysh
Copy link
Member Author

aknysh commented Jun 6, 2019

atlantis plan -p chamber

@cloudpossebot
Copy link
Member

Ran Plan for project: chamber dir: conf/chamber workspace: default

Show Output
rm -rf Makefile *.tf .terraform
terraform init
Copying configuration from "git::https://github.com/cloudposse/terraform-root-modules.git//aws/chamber?ref=tags/0.35.1"...
Initializing modules...
- module.chamber_kms_key
  Getting source "git::https://github.com/cloudposse/terraform-aws-kms-key.git?ref=tags/0.1.0"
- module.chamber_user
  Getting source "git::https://github.com/cloudposse/terraform-aws-iam-chamber-user.git?ref=tags/0.1.5"
- module.chamber_kms_key.label
  Getting source "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.3.3"
- module.chamber_user.chamber_user
  Getting source "git::https://github.com/cloudposse/terraform-aws-iam-system-user.git?ref=tags/0.3.0"
- module.chamber_user.chamber_user.label
  Getting source "git::https://github.com/cloudposse/terraform-null-label.git?ref=tags/0.3.1"

Initializing the backend...

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.

Initializing provider plugins...
- Checking for available provider plugins on https://releases.hashicorp.com...
- Downloading plugin for provider "aws" (2.13.0)...
- Downloading plugin for provider "null" (2.1.2)...

The following providers do not have any version constraints in configuration,
so the latest version was installed.

To prevent automatic upgrades to new major versions that may contain breaking
changes, it is recommended to add version = "..." constraints to the
corresponding provider blocks in configuration, with the constraint strings
suggested below.

* provider.aws: version = "~> 2.13"
* provider.null: version = "~> 2.1"

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

- module.s3_bucket.aws_s3_bucket.default

- module.s3_bucket.aws_s3_bucket_policy.default

- module.service.aws_iam_policy.default

- module.service.aws_iam_role.default

- module.service.aws_iam_role_policy_attachment.default

- module.s3_bucket.module.default_label.null_resource.default

+ module.chamber_user.module.chamber_user.module.label.null_resource.default
    id:                  <computed>
    triggers.%:          "5"
    triggers.attributes: "codefresh"
    triggers.id:         "cpco-testing-chamber-codefresh"
    triggers.name:       "chamber"
    triggers.namespace:  "cpco"
    triggers.stage:      "testing"

Plan: 1 to add, 0 to change, 6 to destroy.
  • ▶️ To apply this plan, comment:
    • atlantis apply -p chamber
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -p chamber

  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply

@aknysh aknysh merged commit 84fbe00 into master Jun 6, 2019
@cloudpossebot
Copy link
Member

Locks and plans deleted for the projects and workspaces modified in this pull request:

  • dir: conf/chamber workspace: default

@aknysh aknysh deleted the update-atlantis branch June 6, 2019 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants