Skip to content

test atlantis#1

Open
vincentmrg wants to merge 1 commit intomasterfrom
vincent-example
Open

test atlantis#1
vincentmrg wants to merge 1 commit intomasterfrom
vincent-example

Conversation

@vincentmrg
Copy link
Owner

No description provided.

@vincentmrg
Copy link
Owner Author

Ran Plan for dir: . workspace: default

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create

Terraform will perform the following actions:

  # null_resource.example will be created
+ resource "null_resource" "example" {
      + id = (known after apply)
    }

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

  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

@vincentmrg
Copy link
Owner Author

atlantis help

@vincentmrg
Copy link
Owner Author

atlantis
Terraform Pull Request Automation

Usage:
  atlantis <command> [options] -- [terraform options]

Examples:
  # show atlantis help
  atlantis help

  # run plan in the root directory passing the -target flag to terraform
  atlantis plan -d . -- -target=resource

  # apply all unapplied plans from this pull request
  atlantis apply

  # apply the plan for the root directory and staging workspace
  atlantis apply -d . -w staging

Commands:
  plan     Runs 'terraform plan' for the changes in this pull request.
           To plan a specific project, use the -d, -w and -p flags.
  apply    Runs 'terraform apply' on all unapplied plans from this pull request.
           To only apply a specific plan, use the -d, -w and -p flags.
  unlock   Removes all atlantis locks and discards all plans for this PR.
           To unlock a specific plan you can use the Atlantis UI.
  approve_policies
           Approves all current policy checking failures for the PR.
  version  Print the output of 'terraform version'
  help     View help.

Flags:
  -h, --help   help for atlantis

Use "atlantis [command] --help" for more information about a command.

@vincentmrg
Copy link
Owner Author

atlantis apply

@vincentmrg
Copy link
Owner Author

Ran Apply for dir: . workspace: default

null_resource.example: Creating...
null_resource.example: Creation complete after 0s [id=1221908978187835921]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

@vincentmrg
Copy link
Owner Author

atlantis plan

@vincentmrg
Copy link
Owner Author

Ran Plan for dir: . workspace: default

null_resource.example: Refreshing state... [id=1221908978187835921]

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
  • ▶️ To apply this plan, comment:
    • atlantis apply -d .
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -d .

  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

@vincentmrg
Copy link
Owner Author

atlantis unlock

@vincentmrg
Copy link
Owner Author

All Atlantis locks for this PR have been unlocked and plans discarded

@vincentmrg
Copy link
Owner Author

atlantis plan

@vincentmrg
Copy link
Owner Author

Ran Plan for dir: . workspace: default

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create

Terraform will perform the following actions:

  # null_resource.example will be created
+ resource "null_resource" "example" {
      + id = (known after apply)
    }

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

  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

@vincentmrg
Copy link
Owner Author

Ran Plan for dir: . workspace: default

Show Output
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create

Terraform will perform the following actions:

  # null_resource.example will be created
+ resource "null_resource" "example" {
      + id = (known after apply)
    }

  # null_resource.example_2 will be created
+ resource "null_resource" "example_2" {
      + id = (known after apply)
    }

Plan: 2 to add, 0 to change, 0 to destroy.
  • ▶️ To apply this plan, comment:
    • atlantis apply -d .
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -d .
Plan: 2 to add, 0 to change, 0 to destroy.
  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

@vincentmrg
Copy link
Owner Author

atlantis apply -- target null_resource.example

@vincentmrg
Copy link
Owner Author

Ran Apply for dir: . workspace: default

Apply Error

running "/Users/vmarguerie/bin/terraform apply -input=false \\t\\a\\r\\g\\e\\t \\n\\u\\l\\l\\_\\r\\e\\s\\o\\u\\r\\c\\e\\.\\e\\x\\a\\m\\p\\l\\e \"/Users/vmarguerie/.atlantis/repos/vincentmrg/atlantis-example/1/default/default.tfplan\"" in "/Users/vmarguerie/.atlantis/repos/vincentmrg/atlantis-example/1/default": exit status 1
╷
│ Error: Too many command line arguments
│ 
│ Expected at most one positional argument.
╵

For more help on using this command, run:
  terraform apply -help

@vincentmrg
Copy link
Owner Author

atlantis apply -- -target null_resource.example

@vincentmrg
Copy link
Owner Author

Ran Apply for dir: . workspace: default

null_resource.example_2: Creating...
null_resource.example: Creating...
null_resource.example: Creation complete after 0s [id=5466004363883819402]
null_resource.example_2: Creation complete after 0s [id=1547086328711060573]

Apply complete! Resources: 2 added, 0 changed, 0 destroyed.

@vincentmrg
Copy link
Owner Author

atlantis help

@vincentmrg
Copy link
Owner Author

atlantis
Terraform Pull Request Automation

Usage:
  atlantis <command> [options] -- [terraform options]

Examples:
  # show atlantis help
  atlantis help

  # run plan in the root directory passing the -target flag to terraform
  atlantis plan -d . -- -target=resource

  # apply all unapplied plans from this pull request
  atlantis apply

  # apply the plan for the root directory and staging workspace
  atlantis apply -d . -w staging

Commands:
  plan     Runs 'terraform plan' for the changes in this pull request.
           To plan a specific project, use the -d, -w and -p flags.
  apply    Runs 'terraform apply' on all unapplied plans from this pull request.
           To only apply a specific plan, use the -d, -w and -p flags.
  unlock   Removes all atlantis locks and discards all plans for this PR.
           To unlock a specific plan you can use the Atlantis UI.
  approve_policies
           Approves all current policy checking failures for the PR.
  version  Print the output of 'terraform version'
  help     View help.

Flags:
  -h, --help   help for atlantis

Use "atlantis [command] --help" for more information about a command.

@vincentmrg
Copy link
Owner Author

atlantis plan

@vincentmrg
Copy link
Owner Author

Ran Plan for dir: . workspace: default

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
  • ▶️ To apply this plan, comment:
    • atlantis apply -d .
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -d .

  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

@vincentmrg
Copy link
Owner Author

atlantis unlock

@vincentmrg
Copy link
Owner Author

All Atlantis locks for this PR have been unlocked and plans discarded

@vincentmrg
Copy link
Owner Author

atlantis plan

@vincentmrg
Copy link
Owner Author

Ran Plan for dir: . workspace: default

Show Output
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create

Terraform will perform the following actions:

  # null_resource.example will be created
+ resource "null_resource" "example" {
      + id = (known after apply)
    }

  # null_resource.example_2 will be created
+ resource "null_resource" "example_2" {
      + id = (known after apply)
    }

Plan: 2 to add, 0 to change, 0 to destroy.
  • ▶️ To apply this plan, comment:
    • atlantis apply -d .
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -d .
Plan: 2 to add, 0 to change, 0 to destroy.
  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

@vincentmrg
Copy link
Owner Author

atlantis plan -- -target null_resource.example

@vincentmrg
Copy link
Owner Author

Ran Plan for dir: . workspace: default

Show Output
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create

Terraform will perform the following actions:

  # null_resource.example will be created
+ resource "null_resource" "example" {
      + id = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.
╷
│ Warning: Resource targeting is in effect
│ 
│ You are creating a plan with the -target option, which means that the
│ result of this plan may not represent all of the changes requested by the
│ current configuration.
│ 
│ The -target option is not for routine use, and is provided only for
│ exceptional situations such as recovering from errors or mistakes, or when
│ Terraform specifically suggests to use it as part of an error message.
╵
  • ▶️ To apply this plan, comment:
    • atlantis apply -d .
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -d . -- -target null_resource.example
Plan: 1 to add, 0 to change, 0 to destroy.
  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

@vincentmrg
Copy link
Owner Author

atlantis apply

@vincentmrg
Copy link
Owner Author

Ran Apply for dir: . workspace: default

Show Output
null_resource.example: Creating...
null_resource.example: Creation complete after 0s [id=5314449493995628285]
╷
│ Warning: Applied changes may be incomplete
│ 
│ The plan was created with the -target option in effect, so some changes
│ requested in the configuration may have been ignored and the output values
│ may not be fully updated. Run the following command to verify that no other
│ changes are pending:
│     terraform plan
│ 	
│ Note that the -target option is not suitable for routine use, and is
│ provided only for exceptional situations such as recovering from errors or
│ mistakes, or when Terraform specifically suggests to use it as part of an
│ error message.
╵

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

@vincentmrg
Copy link
Owner Author

atlantis plan

@vincentmrg
Copy link
Owner Author

Ran Plan for dir: . workspace: default

Show Output
null_resource.example: Refreshing state... [id=5314449493995628285]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create

Terraform will perform the following actions:

  # null_resource.example_2 will be created
+ resource "null_resource" "example_2" {
      + id = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.
  • ▶️ To apply this plan, comment:
    • atlantis apply -d .
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -d .
Plan: 1 to add, 0 to change, 0 to destroy.
  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

@vincentmrg
Copy link
Owner Author

atlantis apply

@vincentmrg
Copy link
Owner Author

Ran Apply for dir: . workspace: default

null_resource.example_2: Creating...
null_resource.example_2: Creation complete after 0s [id=4659113145139720704]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

@vincentmrg
Copy link
Owner Author

atlantis plan

@vincentmrg
Copy link
Owner Author

Ran Plan for dir: . workspace: default

No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.
  • ▶️ To apply this plan, comment:
    • atlantis apply -d .
  • 🚮 To delete this plan click here
  • 🔁 To plan this project again, comment:
    • atlantis plan -d .

  • ⏩ To apply all unapplied plans from this pull request, comment:
    • atlantis apply
  • 🚮 To delete all plans and locks for the PR, comment:
    • atlantis unlock

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.

1 participant