Skip to content

Conversation

raymondbutcher
Copy link
Contributor

This pull request is where I will develop the /plan feature. It will be messy at first.

@raymondbutcher
Copy link
Contributor Author

/plan

@github-actions
Copy link

github-actions bot commented Apr 2, 2020

Plan requested by #1 (comment) is complete!


You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan

@github-actions
Copy link

github-actions bot commented Apr 2, 2020

Plan requested by #1 (comment) is complete!


You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan

@github-actions
Copy link

github-actions bot commented Apr 3, 2020

Action requested by #1 (comment) failed to run!

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan

@github-actions
Copy link

github-actions bot commented Apr 3, 2020

Action requested by #1 (comment) failed to run!

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan thing

@github-actions
Copy link

github-actions bot commented Apr 3, 2020

Action requested by #1 (comment) failed to run!

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan

@github-actions
Copy link

github-actions bot commented Apr 3, 2020

Action requested by #1 (comment) is complete!

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan vpc/dev

@github-actions
Copy link

github-actions bot commented Apr 3, 2020

Action requested by #1 (comment) is complete!

vpc/dev


[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json vpc.auto.tfvars.json
[pretf] run: terraform plan -out=tfplan
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_region.current: 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_default_route_table.vpc will be created
  + resource "aws_default_route_table" "vpc" {
      + default_route_table_id = (known after apply)
      + id                     = (known after apply)
      + owner_id               = (known after apply)
      + route                  = (known after apply)
      + tags                   = {
          + "Name" = "pretf-example-project-dev"
        }
      + vpc_id                 = (known after apply)
    }

  # aws_internet_gateway.igw will be created
  + resource "aws_internet_gateway" "igw" {
      + id       = (known after apply)
      + owner_id = (known after apply)
      + tags     = {
          + "Name" = "pretf-example-project-dev"
        }
      + vpc_id   = (known after apply)
    }

  # aws_vpc.vpc will be created
  + resource "aws_vpc" "vpc" {
      + arn                              = (known after apply)
      + assign_generated_ipv6_cidr_block = false
      + cidr_block                       = "10.1.0.0/16"
      + default_network_acl_id           = (known after apply)
      + default_route_table_id           = (known after apply)
      + default_security_group_id        = (known after apply)
      + dhcp_options_id                  = (known after apply)
      + enable_classiclink               = (known after apply)
      + enable_classiclink_dns_support   = (known after apply)
      + enable_dns_hostnames             = true
      + enable_dns_support               = true
      + id                               = (known after apply)
      + instance_tenancy                 = "default"
      + ipv6_association_id              = (known after apply)
      + ipv6_cidr_block                  = (known after apply)
      + main_route_table_id              = (known after apply)
      + owner_id                         = (known after apply)
      + tags                             = {
          + "Name" = "pretf-example-project-dev"
        }
    }

  # aws_vpc_dhcp_options.vpc will be created
  + resource "aws_vpc_dhcp_options" "vpc" {
      + domain_name         = "eu-west-1.compute.internal"
      + domain_name_servers = [
          + "AmazonProvidedDNS",
        ]
      + id                  = (known after apply)
      + owner_id            = (known after apply)
      + tags                = {
          + "Name" = "pretf-example-project-dev"
        }
    }

  # aws_vpc_dhcp_options_association.vpc_dhcp will be created
  + resource "aws_vpc_dhcp_options_association" "vpc_dhcp" {
      + dhcp_options_id = (known after apply)
      + id              = (known after apply)
      + vpc_id          = (known after apply)
    }

Plan: 5 to add, 0 to change, 0 to destroy.

------------------------------------------------------------------------

This plan was saved to: tfplan

To perform exactly these actions, run the following command to apply:
    terraform apply "tfplan"

[pretf] clean: README.md main.tf outputs.tf stack.tf.json stack.tf.py variables.tf vpc.auto.tfvars.json vpc.auto.tfvars.py

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan vpc-dev

@github-actions
Copy link

github-actions bot commented Apr 3, 2020

Action requested by #1 (comment) failed to run!

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan vpc/dev

@github-actions
Copy link

github-actions bot commented Apr 3, 2020

Action requested by #1 (comment) failed!

vpc/dev

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json could not be processed
Traceback (most recent call last):
  File "/src/.direnv/python-3.7.6/bin/pretf", line 11, in <module>
    load_entry_point('pretf', 'console_scripts', 'pretf')()
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/cli.py", line 12, in main
    result = run()
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/cli.py", line 52, in run
    return workflow.custom(workflow_path)
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/workflow.py", line 119, in custom
    result = call_pretf_function(func=module.pretf_workflow, context=context)  # type: ignore
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/render.py", line 200, in call_pretf_function
    return func(**kwargs)
  File "/src/vpc/pretf.workflow.py", line 8, in pretf_workflow
    "version": "1.1.0",
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/workflow.py", line 307, in load_parent
    return custom(path, context=kwargs)
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/workflow.py", line 119, in custom
    result = call_pretf_function(func=module.pretf_workflow, context=context)  # type: ignore
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/render.py", line 200, in call_pretf_function
    return func(**kwargs)
  File "/src/pretf.workflow.py", line 141, in pretf_workflow
    created += workflow.create_files()
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/workflow.py", line 82, in create_files
    file_contents = render_files(files_to_create)
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/render.py", line 68, in render_files
    raise thread.error
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/render.py", line 142, in run
    yielded = self.gen.send(self.return_value)
  File "stack.tf.py", line 25, in pretf_blocks
    **var.aws_credentials[var.account],
  File "/src/.direnv/python-3.7.6/src/pretf.aws/pretf.aws/pretf/aws.py", line 271, in terraform_backend_s3
    if not _profile_creds_definitely_supported_by_terraform(creds):
  File "/src/.direnv/python-3.7.6/src/pretf.aws/pretf.aws/pretf/aws.py", line 151, in _profile_creds_definitely_supported_by_terraform
    if creds.method in ("config-file", "shared-credentials-file"):
AttributeError: 'NoneType' object has no attribute 'method'

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan vpc/dev

@github-actions
Copy link

github-actions bot commented Apr 3, 2020

Action requested by #1 (comment) failed!

vpc/dev

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json could not be processed
Traceback (most recent call last):
  File "/src/.direnv/python-3.7.6/bin/pretf", line 11, in <module>
    load_entry_point('pretf', 'console_scripts', 'pretf')()
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/cli.py", line 12, in main
    result = run()
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/cli.py", line 52, in run
    return workflow.custom(workflow_path)
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/workflow.py", line 119, in custom
    result = call_pretf_function(func=module.pretf_workflow, context=context)  # type: ignore
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/render.py", line 200, in call_pretf_function
    return func(**kwargs)
  File "/src/vpc/pretf.workflow.py", line 8, in pretf_workflow
    "version": "1.1.0",
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/workflow.py", line 307, in load_parent
    return custom(path, context=kwargs)
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/workflow.py", line 119, in custom
    result = call_pretf_function(func=module.pretf_workflow, context=context)  # type: ignore
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/render.py", line 200, in call_pretf_function
    return func(**kwargs)
  File "/src/pretf.workflow.py", line 141, in pretf_workflow
    created += workflow.create_files()
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/workflow.py", line 82, in create_files
    file_contents = render_files(files_to_create)
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/render.py", line 68, in render_files
    raise thread.error
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/render.py", line 142, in run
    yielded = self.gen.send(self.return_value)
  File "stack.tf.py", line 25, in pretf_blocks
    **var.aws_credentials[var.account],
  File "/src/.direnv/python-3.7.6/src/pretf.aws/pretf.aws/pretf/aws.py", line 271, in terraform_backend_s3
    if not _profile_creds_definitely_supported_by_terraform(creds):
  File "/src/.direnv/python-3.7.6/src/pretf.aws/pretf.aws/pretf/aws.py", line 151, in _profile_creds_definitely_supported_by_terraform
    if creds.method in ("config-file", "shared-credentials-file"):
AttributeError: 'NoneType' object has no attribute 'method'

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan vpc/stage

@github-actions
Copy link

github-actions bot commented Apr 3, 2020

Action requested by #1 (comment) failed!

vpc/stage

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json could not be processed
Traceback (most recent call last):
  File "/src/.direnv/python-3.7.6/bin/pretf", line 11, in <module>
    load_entry_point('pretf', 'console_scripts', 'pretf')()
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/cli.py", line 12, in main
    result = run()
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/cli.py", line 52, in run
    return workflow.custom(workflow_path)
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/workflow.py", line 119, in custom
    result = call_pretf_function(func=module.pretf_workflow, context=context)  # type: ignore
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/render.py", line 200, in call_pretf_function
    return func(**kwargs)
  File "/src/vpc/pretf.workflow.py", line 8, in pretf_workflow
    "version": "1.1.0",
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/workflow.py", line 307, in load_parent
    return custom(path, context=kwargs)
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/workflow.py", line 119, in custom
    result = call_pretf_function(func=module.pretf_workflow, context=context)  # type: ignore
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/render.py", line 200, in call_pretf_function
    return func(**kwargs)
  File "/src/pretf.workflow.py", line 144, in pretf_workflow
    created += workflow.create_files()
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/workflow.py", line 82, in create_files
    file_contents = render_files(files_to_create)
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/render.py", line 68, in render_files
    raise thread.error
  File "/src/.direnv/python-3.7.6/src/pretf/pretf/pretf/render.py", line 142, in run
    yielded = self.gen.send(self.return_value)
  File "stack.tf.py", line 25, in pretf_blocks
    **var.aws_credentials[var.account],
  File "/src/.direnv/python-3.7.6/src/pretf.aws/pretf.aws/pretf/aws.py", line 271, in terraform_backend_s3
    if not _profile_creds_definitely_supported_by_terraform(creds):
  File "/src/.direnv/python-3.7.6/src/pretf.aws/pretf.aws/pretf/aws.py", line 151, in _profile_creds_definitely_supported_by_terraform
    if creds.method in ("config-file", "shared-credentials-file"):
AttributeError: 'NoneType' object has no attribute 'method'

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan vpc/stage

@github-actions
Copy link

github-actions bot commented Apr 3, 2020

Action requested by #1 (comment) is complete!

vpc/stage

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json vpc.auto.tfvars.json
[pretf] run: terraform plan -out=tfplan
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_region.current: 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_default_route_table.vpc will be created
  + resource "aws_default_route_table" "vpc" {
      + default_route_table_id = (known after apply)
      + id                     = (known after apply)
      + owner_id               = (known after apply)
      + route                  = (known after apply)
      + tags                   = {
          + "Name" = "pretf-example-project-stage"
        }
      + vpc_id                 = (known after apply)
    }

  # aws_internet_gateway.igw will be created
  + resource "aws_internet_gateway" "igw" {
      + id       = (known after apply)
      + owner_id = (known after apply)
      + tags     = {
          + "Name" = "pretf-example-project-stage"
        }
      + vpc_id   = (known after apply)
    }

  # aws_vpc.vpc will be created
  + resource "aws_vpc" "vpc" {
      + arn                              = (known after apply)
      + assign_generated_ipv6_cidr_block = false
      + cidr_block                       = "10.2.0.0/16"
      + default_network_acl_id           = (known after apply)
      + default_route_table_id           = (known after apply)
      + default_security_group_id        = (known after apply)
      + dhcp_options_id                  = (known after apply)
      + enable_classiclink               = (known after apply)
      + enable_classiclink_dns_support   = (known after apply)
      + enable_dns_hostnames             = true
      + enable_dns_support               = true
      + id                               = (known after apply)
      + instance_tenancy                 = "default"
      + ipv6_association_id              = (known after apply)
      + ipv6_cidr_block                  = (known after apply)
      + main_route_table_id              = (known after apply)
      + owner_id                         = (known after apply)
      + tags                             = {
          + "Name" = "pretf-example-project-stage"
        }
    }

  # aws_vpc_dhcp_options.vpc will be created
  + resource "aws_vpc_dhcp_options" "vpc" {
      + domain_name         = "eu-west-1.compute.internal"
      + domain_name_servers = [
          + "AmazonProvidedDNS",
        ]
      + id                  = (known after apply)
      + owner_id            = (known after apply)
      + tags                = {
          + "Name" = "pretf-example-project-stage"
        }
    }

  # aws_vpc_dhcp_options_association.vpc_dhcp will be created
  + resource "aws_vpc_dhcp_options_association" "vpc_dhcp" {
      + dhcp_options_id = (known after apply)
      + id              = (known after apply)
      + vpc_id          = (known after apply)
    }

Plan: 5 to add, 0 to change, 0 to destroy.

------------------------------------------------------------------------

This plan was saved to: tfplan

To perform exactly these actions, run the following command to apply:
    terraform apply "tfplan"

Releasing state lock. This may take a few moments...
[pretf] clean: README.md main.tf outputs.tf stack.tf.json stack.tf.py variables.tf vpc.auto.tfvars.json vpc.auto.tfvars.py

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan

@github-actions
Copy link

github-actions bot commented Apr 3, 2020

Action requested by #1 (comment) is complete!

vpc/dev

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json vpc.auto.tfvars.json
[pretf] run: terraform plan -input=false -no-color -out=tfplan
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_region.current: 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_default_route_table.vpc will be created
  + resource "aws_default_route_table" "vpc" {
      + default_route_table_id = (known after apply)
      + id                     = (known after apply)
      + owner_id               = (known after apply)
      + route                  = (known after apply)
      + tags                   = {
          + "Name" = "pretf-example-project-dev"
        }
      + vpc_id                 = (known after apply)
    }

  # aws_internet_gateway.igw will be created
  + resource "aws_internet_gateway" "igw" {
      + id       = (known after apply)
      + owner_id = (known after apply)
      + tags     = {
          + "Name" = "pretf-example-project-dev"
        }
      + vpc_id   = (known after apply)
    }

  # aws_vpc.vpc will be created
  + resource "aws_vpc" "vpc" {
      + arn                              = (known after apply)
      + assign_generated_ipv6_cidr_block = false
      + cidr_block                       = "10.1.0.0/16"
      + default_network_acl_id           = (known after apply)
      + default_route_table_id           = (known after apply)
      + default_security_group_id        = (known after apply)
      + dhcp_options_id                  = (known after apply)
      + enable_classiclink               = (known after apply)
      + enable_classiclink_dns_support   = (known after apply)
      + enable_dns_hostnames             = true
      + enable_dns_support               = true
      + id                               = (known after apply)
      + instance_tenancy                 = "default"
      + ipv6_association_id              = (known after apply)
      + ipv6_cidr_block                  = (known after apply)
      + main_route_table_id              = (known after apply)
      + owner_id                         = (known after apply)
      + tags                             = {
          + "Name" = "pretf-example-project-dev"
        }
    }

  # aws_vpc_dhcp_options.vpc will be created
  + resource "aws_vpc_dhcp_options" "vpc" {
      + domain_name         = "eu-west-1.compute.internal"
      + domain_name_servers = [
          + "AmazonProvidedDNS",
        ]
      + id                  = (known after apply)
      + owner_id            = (known after apply)
      + tags                = {
          + "Name" = "pretf-example-project-dev"
        }
    }

  # aws_vpc_dhcp_options_association.vpc_dhcp will be created
  + resource "aws_vpc_dhcp_options_association" "vpc_dhcp" {
      + dhcp_options_id = (known after apply)
      + id              = (known after apply)
      + vpc_id          = (known after apply)
    }

Plan: 5 to add, 0 to change, 0 to destroy.
[pretf] clean: README.md main.tf outputs.tf stack.tf.json stack.tf.py variables.tf vpc.auto.tfvars.json vpc.auto.tfvars.py

vpc/prod

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json vpc.auto.tfvars.json
[pretf] run: terraform plan -input=false -no-color -out=tfplan
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_region.current: 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_default_route_table.vpc will be created
  + resource "aws_default_route_table" "vpc" {
      + default_route_table_id = (known after apply)
      + id                     = (known after apply)
      + owner_id               = (known after apply)
      + route                  = (known after apply)
      + tags                   = {
          + "Name" = "pretf-example-project-prod"
        }
      + vpc_id                 = (known after apply)
    }

  # aws_internet_gateway.igw will be created
  + resource "aws_internet_gateway" "igw" {
      + id       = (known after apply)
      + owner_id = (known after apply)
      + tags     = {
          + "Name" = "pretf-example-project-prod"
        }
      + vpc_id   = (known after apply)
    }

  # aws_vpc.vpc will be created
  + resource "aws_vpc" "vpc" {
      + arn                              = (known after apply)
      + assign_generated_ipv6_cidr_block = false
      + cidr_block                       = "10.3.0.0/16"
      + default_network_acl_id           = (known after apply)
      + default_route_table_id           = (known after apply)
      + default_security_group_id        = (known after apply)
      + dhcp_options_id                  = (known after apply)
      + enable_classiclink               = (known after apply)
      + enable_classiclink_dns_support   = (known after apply)
      + enable_dns_hostnames             = true
      + enable_dns_support               = true
      + id                               = (known after apply)
      + instance_tenancy                 = "default"
      + ipv6_association_id              = (known after apply)
      + ipv6_cidr_block                  = (known after apply)
      + main_route_table_id              = (known after apply)
      + owner_id                         = (known after apply)
      + tags                             = {
          + "Name" = "pretf-example-project-prod"
        }
    }

  # aws_vpc_dhcp_options.vpc will be created
  + resource "aws_vpc_dhcp_options" "vpc" {
      + domain_name         = "eu-west-1.compute.internal"
      + domain_name_servers = [
          + "AmazonProvidedDNS",
        ]
      + id                  = (known after apply)
      + owner_id            = (known after apply)
      + tags                = {
          + "Name" = "pretf-example-project-prod"
        }
    }

  # aws_vpc_dhcp_options_association.vpc_dhcp will be created
  + resource "aws_vpc_dhcp_options_association" "vpc_dhcp" {
      + dhcp_options_id = (known after apply)
      + id              = (known after apply)
      + vpc_id          = (known after apply)
    }

Plan: 5 to add, 0 to change, 0 to destroy.
[pretf] clean: README.md main.tf outputs.tf stack.tf.json stack.tf.py variables.tf vpc.auto.tfvars.json vpc.auto.tfvars.py

vpc/stage

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json vpc.auto.tfvars.json
[pretf] run: terraform plan -input=false -no-color -out=tfplan
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_region.current: 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_default_route_table.vpc will be created
  + resource "aws_default_route_table" "vpc" {
      + default_route_table_id = (known after apply)
      + id                     = (known after apply)
      + owner_id               = (known after apply)
      + route                  = (known after apply)
      + tags                   = {
          + "Name" = "pretf-example-project-stage"
        }
      + vpc_id                 = (known after apply)
    }

  # aws_internet_gateway.igw will be created
  + resource "aws_internet_gateway" "igw" {
      + id       = (known after apply)
      + owner_id = (known after apply)
      + tags     = {
          + "Name" = "pretf-example-project-stage"
        }
      + vpc_id   = (known after apply)
    }

  # aws_vpc.vpc will be created
  + resource "aws_vpc" "vpc" {
      + arn                              = (known after apply)
      + assign_generated_ipv6_cidr_block = false
      + cidr_block                       = "10.2.0.0/16"
      + default_network_acl_id           = (known after apply)
      + default_route_table_id           = (known after apply)
      + default_security_group_id        = (known after apply)
      + dhcp_options_id                  = (known after apply)
      + enable_classiclink               = (known after apply)
      + enable_classiclink_dns_support   = (known after apply)
      + enable_dns_hostnames             = true
      + enable_dns_support               = true
      + id                               = (known after apply)
      + instance_tenancy                 = "default"
      + ipv6_association_id              = (known after apply)
      + ipv6_cidr_block                  = (known after apply)
      + main_route_table_id              = (known after apply)
      + owner_id                         = (known after apply)
      + tags                             = {
          + "Name" = "pretf-example-project-stage"
        }
    }

  # aws_vpc_dhcp_options.vpc will be created
  + resource "aws_vpc_dhcp_options" "vpc" {
      + domain_name         = "eu-west-1.compute.internal"
      + domain_name_servers = [
          + "AmazonProvidedDNS",
        ]
      + id                  = (known after apply)
      + owner_id            = (known after apply)
      + tags                = {
          + "Name" = "pretf-example-project-stage"
        }
    }

  # aws_vpc_dhcp_options_association.vpc_dhcp will be created
  + resource "aws_vpc_dhcp_options_association" "vpc_dhcp" {
      + dhcp_options_id = (known after apply)
      + id              = (known after apply)
      + vpc_id          = (known after apply)
    }

Plan: 5 to add, 0 to change, 0 to destroy.
[pretf] clean: README.md main.tf outputs.tf stack.tf.json stack.tf.py variables.tf vpc.auto.tfvars.json vpc.auto.tfvars.py

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan vpc/stage

@github-actions
Copy link

github-actions bot commented Apr 3, 2020

Action requested by #1 (comment) is complete!

vpc/stage

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json vpc.auto.tfvars.json
[pretf] run: terraform plan -input=false -no-color -out=tfplan
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_region.current: 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_default_route_table.vpc will be created
  + resource "aws_default_route_table" "vpc" {
      + default_route_table_id = (known after apply)
      + id                     = (known after apply)
      + owner_id               = (known after apply)
      + route                  = (known after apply)
      + tags                   = {
          + "Name" = "pretf-example-project-stage"
        }
      + vpc_id                 = (known after apply)
    }

  # aws_internet_gateway.igw will be created
  + resource "aws_internet_gateway" "igw" {
      + id       = (known after apply)
      + owner_id = (known after apply)
      + tags     = {
          + "Name" = "pretf-example-project-stage"
        }
      + vpc_id   = (known after apply)
    }

  # aws_vpc.vpc will be created
  + resource "aws_vpc" "vpc" {
      + arn                              = (known after apply)
      + assign_generated_ipv6_cidr_block = false
      + cidr_block                       = "10.2.0.0/16"
      + default_network_acl_id           = (known after apply)
      + default_route_table_id           = (known after apply)
      + default_security_group_id        = (known after apply)
      + dhcp_options_id                  = (known after apply)
      + enable_classiclink               = (known after apply)
      + enable_classiclink_dns_support   = (known after apply)
      + enable_dns_hostnames             = true
      + enable_dns_support               = true
      + id                               = (known after apply)
      + instance_tenancy                 = "default"
      + ipv6_association_id              = (known after apply)
      + ipv6_cidr_block                  = (known after apply)
      + main_route_table_id              = (known after apply)
      + owner_id                         = (known after apply)
      + tags                             = {
          + "Name" = "pretf-example-project-stage"
        }
    }

  # aws_vpc_dhcp_options.vpc will be created
  + resource "aws_vpc_dhcp_options" "vpc" {
      + domain_name         = "eu-west-1.compute.internal"
      + domain_name_servers = [
          + "AmazonProvidedDNS",
        ]
      + id                  = (known after apply)
      + owner_id            = (known after apply)
      + tags                = {
          + "Name" = "pretf-example-project-stage"
        }
    }

  # aws_vpc_dhcp_options_association.vpc_dhcp will be created
  + resource "aws_vpc_dhcp_options_association" "vpc_dhcp" {
      + dhcp_options_id = (known after apply)
      + id              = (known after apply)
      + vpc_id          = (known after apply)
    }

Plan: 5 to add, 0 to change, 0 to destroy.
Releasing state lock. This may take a few moments...
[pretf] clean: README.md main.tf outputs.tf stack.tf.json stack.tf.py variables.tf vpc.auto.tfvars.json vpc.auto.tfvars.py

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan

@raymondbutcher
Copy link
Contributor Author

/plan

@github-actions
Copy link

github-actions bot commented Apr 3, 2020

Action requested by #1 (comment) failed to run!

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan

1 similar comment
@raymondbutcher
Copy link
Contributor Author

/plan

@github-actions
Copy link

github-actions bot commented Apr 4, 2020

Action requested by #1 (comment) failed to run!

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan

2 similar comments
@raymondbutcher
Copy link
Contributor Author

/plan

@raymondbutcher
Copy link
Contributor Author

/plan

@github-actions
Copy link

github-actions bot commented Apr 4, 2020

Action requested by #1 (comment) is complete!

vpc/dev

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json vpc.auto.tfvars.json
[pretf] run: terraform plan -input=false -no-color -out=tfplan
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_region.current: 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_default_route_table.vpc will be created
  + resource "aws_default_route_table" "vpc" {
      + default_route_table_id = (known after apply)
      + id                     = (known after apply)
      + owner_id               = (known after apply)
      + route                  = (known after apply)
      + tags                   = {
          + "Name" = "pretf-example-project-dev"
        }
      + vpc_id                 = (known after apply)
    }

  # aws_internet_gateway.igw will be created
  + resource "aws_internet_gateway" "igw" {
      + id       = (known after apply)
      + owner_id = (known after apply)
      + tags     = {
          + "Name" = "pretf-example-project-dev"
        }
      + vpc_id   = (known after apply)
    }

  # aws_vpc.vpc will be created
  + resource "aws_vpc" "vpc" {
      + arn                              = (known after apply)
      + assign_generated_ipv6_cidr_block = false
      + cidr_block                       = "10.1.0.0/16"
      + default_network_acl_id           = (known after apply)
      + default_route_table_id           = (known after apply)
      + default_security_group_id        = (known after apply)
      + dhcp_options_id                  = (known after apply)
      + enable_classiclink               = (known after apply)
      + enable_classiclink_dns_support   = (known after apply)
      + enable_dns_hostnames             = true
      + enable_dns_support               = true
      + id                               = (known after apply)
      + instance_tenancy                 = "default"
      + ipv6_association_id              = (known after apply)
      + ipv6_cidr_block                  = (known after apply)
      + main_route_table_id              = (known after apply)
      + owner_id                         = (known after apply)
      + tags                             = {
          + "Name" = "pretf-example-project-dev"
        }
    }

  # aws_vpc_dhcp_options.vpc will be created
  + resource "aws_vpc_dhcp_options" "vpc" {
      + domain_name         = "eu-west-1.compute.internal"
      + domain_name_servers = [
          + "AmazonProvidedDNS",
        ]
      + id                  = (known after apply)
      + owner_id            = (known after apply)
      + tags                = {
          + "Name" = "pretf-example-project-dev"
        }
    }

  # aws_vpc_dhcp_options_association.vpc_dhcp will be created
  + resource "aws_vpc_dhcp_options_association" "vpc_dhcp" {
      + dhcp_options_id = (known after apply)
      + id              = (known after apply)
      + vpc_id          = (known after apply)
    }

Plan: 5 to add, 0 to change, 0 to destroy.
Releasing state lock. This may take a few moments...
[pretf] clean: README.md main.tf outputs.tf stack.tf.json stack.tf.py variables.tf vpc.auto.tfvars.json vpc.auto.tfvars.py

vpc/prod

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json vpc.auto.tfvars.json
[pretf] run: terraform plan -input=false -no-color -out=tfplan
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_region.current: 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_default_route_table.vpc will be created
  + resource "aws_default_route_table" "vpc" {
      + default_route_table_id = (known after apply)
      + id                     = (known after apply)
      + owner_id               = (known after apply)
      + route                  = (known after apply)
      + tags                   = {
          + "Name" = "pretf-example-project-prod"
        }
      + vpc_id                 = (known after apply)
    }

  # aws_internet_gateway.igw will be created
  + resource "aws_internet_gateway" "igw" {
      + id       = (known after apply)
      + owner_id = (known after apply)
      + tags     = {
          + "Name" = "pretf-example-project-prod"
        }
      + vpc_id   = (known after apply)
    }

  # aws_vpc.vpc will be created
  + resource "aws_vpc" "vpc" {
      + arn                              = (known after apply)
      + assign_generated_ipv6_cidr_block = false
      + cidr_block                       = "10.3.0.0/16"
      + default_network_acl_id           = (known after apply)
      + default_route_table_id           = (known after apply)
      + default_security_group_id        = (known after apply)
      + dhcp_options_id                  = (known after apply)
      + enable_classiclink               = (known after apply)
      + enable_classiclink_dns_support   = (known after apply)
      + enable_dns_hostnames             = true
      + enable_dns_support               = true
      + id                               = (known after apply)
      + instance_tenancy                 = "default"
      + ipv6_association_id              = (known after apply)
      + ipv6_cidr_block                  = (known after apply)
      + main_route_table_id              = (known after apply)
      + owner_id                         = (known after apply)
      + tags                             = {
          + "Name" = "pretf-example-project-prod"
        }
    }

  # aws_vpc_dhcp_options.vpc will be created
  + resource "aws_vpc_dhcp_options" "vpc" {
      + domain_name         = "eu-west-1.compute.internal"
      + domain_name_servers = [
          + "AmazonProvidedDNS",
        ]
      + id                  = (known after apply)
      + owner_id            = (known after apply)
      + tags                = {
          + "Name" = "pretf-example-project-prod"
        }
    }

  # aws_vpc_dhcp_options_association.vpc_dhcp will be created
  + resource "aws_vpc_dhcp_options_association" "vpc_dhcp" {
      + dhcp_options_id = (known after apply)
      + id              = (known after apply)
      + vpc_id          = (known after apply)
    }

Plan: 5 to add, 0 to change, 0 to destroy.
Releasing state lock. This may take a few moments...
[pretf] clean: README.md main.tf outputs.tf stack.tf.json stack.tf.py variables.tf vpc.auto.tfvars.json vpc.auto.tfvars.py

vpc/stage

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json vpc.auto.tfvars.json
[pretf] run: terraform plan -input=false -no-color -out=tfplan
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_region.current: 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_default_route_table.vpc will be created
  + resource "aws_default_route_table" "vpc" {
      + default_route_table_id = (known after apply)
      + id                     = (known after apply)
      + owner_id               = (known after apply)
      + route                  = (known after apply)
      + tags                   = {
          + "Name" = "pretf-example-project-stage"
        }
      + vpc_id                 = (known after apply)
    }

  # aws_internet_gateway.igw will be created
  + resource "aws_internet_gateway" "igw" {
      + id       = (known after apply)
      + owner_id = (known after apply)
      + tags     = {
          + "Name" = "pretf-example-project-stage"
        }
      + vpc_id   = (known after apply)
    }

  # aws_vpc.vpc will be created
  + resource "aws_vpc" "vpc" {
      + arn                              = (known after apply)
      + assign_generated_ipv6_cidr_block = false
      + cidr_block                       = "10.2.0.0/16"
      + default_network_acl_id           = (known after apply)
      + default_route_table_id           = (known after apply)
      + default_security_group_id        = (known after apply)
      + dhcp_options_id                  = (known after apply)
      + enable_classiclink               = (known after apply)
      + enable_classiclink_dns_support   = (known after apply)
      + enable_dns_hostnames             = true
      + enable_dns_support               = true
      + id                               = (known after apply)
      + instance_tenancy                 = "default"
      + ipv6_association_id              = (known after apply)
      + ipv6_cidr_block                  = (known after apply)
      + main_route_table_id              = (known after apply)
      + owner_id                         = (known after apply)
      + tags                             = {
          + "Name" = "pretf-example-project-stage"
        }
    }

  # aws_vpc_dhcp_options.vpc will be created
  + resource "aws_vpc_dhcp_options" "vpc" {
      + domain_name         = "eu-west-1.compute.internal"
      + domain_name_servers = [
          + "AmazonProvidedDNS",
        ]
      + id                  = (known after apply)
      + owner_id            = (known after apply)
      + tags                = {
          + "Name" = "pretf-example-project-stage"
        }
    }

  # aws_vpc_dhcp_options_association.vpc_dhcp will be created
  + resource "aws_vpc_dhcp_options_association" "vpc_dhcp" {
      + dhcp_options_id = (known after apply)
      + id              = (known after apply)
      + vpc_id          = (known after apply)
    }

Plan: 5 to add, 0 to change, 0 to destroy.
Releasing state lock. This may take a few moments...
[pretf] clean: README.md main.tf outputs.tf stack.tf.json stack.tf.py variables.tf vpc.auto.tfvars.json vpc.auto.tfvars.py

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan vpc/dev

@github-actions
Copy link

github-actions bot commented Apr 6, 2020

Action requested by #1 (comment) is complete!

vpc/dev

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json vpc.auto.tfvars.json
[pretf] run: terraform plan -input=false -no-color -out=tfplan
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_region.current: 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_default_route_table.vpc will be created
  + resource "aws_default_route_table" "vpc" {
      + default_route_table_id = (known after apply)
      + id                     = (known after apply)
      + owner_id               = (known after apply)
      + route                  = (known after apply)
      + tags                   = {
          + "Name" = "pretf-example-project-dev"
        }
      + vpc_id                 = (known after apply)
    }

  # aws_internet_gateway.igw will be created
  + resource "aws_internet_gateway" "igw" {
      + id       = (known after apply)
      + owner_id = (known after apply)
      + tags     = {
          + "Name" = "pretf-example-project-dev"
        }
      + vpc_id   = (known after apply)
    }

  # aws_vpc.vpc will be created
  + resource "aws_vpc" "vpc" {
      + arn                              = (known after apply)
      + assign_generated_ipv6_cidr_block = false
      + cidr_block                       = "10.1.0.0/16"
      + default_network_acl_id           = (known after apply)
      + default_route_table_id           = (known after apply)
      + default_security_group_id        = (known after apply)
      + dhcp_options_id                  = (known after apply)
      + enable_classiclink               = (known after apply)
      + enable_classiclink_dns_support   = (known after apply)
      + enable_dns_hostnames             = true
      + enable_dns_support               = true
      + id                               = (known after apply)
      + instance_tenancy                 = "default"
      + ipv6_association_id              = (known after apply)
      + ipv6_cidr_block                  = (known after apply)
      + main_route_table_id              = (known after apply)
      + owner_id                         = (known after apply)
      + tags                             = {
          + "Name" = "pretf-example-project-dev"
        }
    }

  # aws_vpc_dhcp_options.vpc will be created
  + resource "aws_vpc_dhcp_options" "vpc" {
      + domain_name         = "eu-west-1.compute.internal"
      + domain_name_servers = [
          + "AmazonProvidedDNS",
        ]
      + id                  = (known after apply)
      + owner_id            = (known after apply)
      + tags                = {
          + "Name" = "pretf-example-project-dev"
        }
    }

  # aws_vpc_dhcp_options_association.vpc_dhcp will be created
  + resource "aws_vpc_dhcp_options_association" "vpc_dhcp" {
      + dhcp_options_id = (known after apply)
      + id              = (known after apply)
      + vpc_id          = (known after apply)
    }

Plan: 5 to add, 0 to change, 0 to destroy.
Releasing state lock. This may take a few moments...
[pretf] clean: README.md main.tf outputs.tf stack.tf.json stack.tf.py variables.tf vpc.auto.tfvars.json vpc.auto.tfvars.py

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan

@github-actions
Copy link

github-actions bot commented Apr 9, 2020

Action requested by #1 (comment) failed to run!

You can check the execution log to learn more!

@raymondbutcher
Copy link
Contributor Author

/plan

@github-actions
Copy link

github-actions bot commented Apr 9, 2020

Action requested by #1 (comment) is complete!

vpc/dev

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json vpc.auto.tfvars.json
[pretf] run: terraform plan -input=false -no-color -out=tfplan
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_region.current: 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_default_route_table.vpc will be created
  + resource "aws_default_route_table" "vpc" {
      + default_route_table_id = (known after apply)
      + id                     = (known after apply)
      + owner_id               = (known after apply)
      + route                  = (known after apply)
      + tags                   = {
          + "Name" = "pretf-example-project-dev"
        }
      + vpc_id                 = (known after apply)
    }

  # aws_internet_gateway.igw will be created
  + resource "aws_internet_gateway" "igw" {
      + id       = (known after apply)
      + owner_id = (known after apply)
      + tags     = {
          + "Name" = "pretf-example-project-dev"
        }
      + vpc_id   = (known after apply)
    }

  # aws_vpc.vpc will be created
  + resource "aws_vpc" "vpc" {
      + arn                              = (known after apply)
      + assign_generated_ipv6_cidr_block = false
      + cidr_block                       = "10.1.0.0/16"
      + default_network_acl_id           = (known after apply)
      + default_route_table_id           = (known after apply)
      + default_security_group_id        = (known after apply)
      + dhcp_options_id                  = (known after apply)
      + enable_classiclink               = (known after apply)
      + enable_classiclink_dns_support   = (known after apply)
      + enable_dns_hostnames             = true
      + enable_dns_support               = true
      + id                               = (known after apply)
      + instance_tenancy                 = "default"
      + ipv6_association_id              = (known after apply)
      + ipv6_cidr_block                  = (known after apply)
      + main_route_table_id              = (known after apply)
      + owner_id                         = (known after apply)
      + tags                             = {
          + "Name" = "pretf-example-project-dev"
        }
    }

  # aws_vpc_dhcp_options.vpc will be created
  + resource "aws_vpc_dhcp_options" "vpc" {
      + domain_name         = "eu-west-1.compute.internal"
      + domain_name_servers = [
          + "AmazonProvidedDNS",
        ]
      + id                  = (known after apply)
      + owner_id            = (known after apply)
      + tags                = {
          + "Name" = "pretf-example-project-dev"
        }
    }

  # aws_vpc_dhcp_options_association.vpc_dhcp will be created
  + resource "aws_vpc_dhcp_options_association" "vpc_dhcp" {
      + dhcp_options_id = (known after apply)
      + id              = (known after apply)
      + vpc_id          = (known after apply)
    }

Plan: 5 to add, 0 to change, 0 to destroy.
Releasing state lock. This may take a few moments...
[pretf] clean: README.md main.tf outputs.tf stack.tf.json stack.tf.py variables.tf vpc.auto.tfvars.json vpc.auto.tfvars.py

vpc/prod

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json vpc.auto.tfvars.json
[pretf] run: terraform plan -input=false -no-color -out=tfplan
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_region.current: 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_default_route_table.vpc will be created
  + resource "aws_default_route_table" "vpc" {
      + default_route_table_id = (known after apply)
      + id                     = (known after apply)
      + owner_id               = (known after apply)
      + route                  = (known after apply)
      + tags                   = {
          + "Name" = "pretf-example-project-prod"
        }
      + vpc_id                 = (known after apply)
    }

  # aws_internet_gateway.igw will be created
  + resource "aws_internet_gateway" "igw" {
      + id       = (known after apply)
      + owner_id = (known after apply)
      + tags     = {
          + "Name" = "pretf-example-project-prod"
        }
      + vpc_id   = (known after apply)
    }

  # aws_vpc.vpc will be created
  + resource "aws_vpc" "vpc" {
      + arn                              = (known after apply)
      + assign_generated_ipv6_cidr_block = false
      + cidr_block                       = "10.3.0.0/16"
      + default_network_acl_id           = (known after apply)
      + default_route_table_id           = (known after apply)
      + default_security_group_id        = (known after apply)
      + dhcp_options_id                  = (known after apply)
      + enable_classiclink               = (known after apply)
      + enable_classiclink_dns_support   = (known after apply)
      + enable_dns_hostnames             = true
      + enable_dns_support               = true
      + id                               = (known after apply)
      + instance_tenancy                 = "default"
      + ipv6_association_id              = (known after apply)
      + ipv6_cidr_block                  = (known after apply)
      + main_route_table_id              = (known after apply)
      + owner_id                         = (known after apply)
      + tags                             = {
          + "Name" = "pretf-example-project-prod"
        }
    }

  # aws_vpc_dhcp_options.vpc will be created
  + resource "aws_vpc_dhcp_options" "vpc" {
      + domain_name         = "eu-west-1.compute.internal"
      + domain_name_servers = [
          + "AmazonProvidedDNS",
        ]
      + id                  = (known after apply)
      + owner_id            = (known after apply)
      + tags                = {
          + "Name" = "pretf-example-project-prod"
        }
    }

  # aws_vpc_dhcp_options_association.vpc_dhcp will be created
  + resource "aws_vpc_dhcp_options_association" "vpc_dhcp" {
      + dhcp_options_id = (known after apply)
      + id              = (known after apply)
      + vpc_id          = (known after apply)
    }

Plan: 5 to add, 0 to change, 0 to destroy.
Releasing state lock. This may take a few moments...
[pretf] clean: README.md main.tf outputs.tf stack.tf.json stack.tf.py variables.tf vpc.auto.tfvars.json vpc.auto.tfvars.py

vpc/stage

[pretf] link: stack.tf.py vpc.auto.tfvars.py
[pretf] module: claranet/vpc-modules/aws//modules/vpc 1.1.0
[pretf] link: README.md main.tf outputs.tf variables.tf
[pretf] create: stack.tf.json vpc.auto.tfvars.json
[pretf] run: terraform plan -input=false -no-color -out=tfplan
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_region.current: 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_default_route_table.vpc will be created
  + resource "aws_default_route_table" "vpc" {
      + default_route_table_id = (known after apply)
      + id                     = (known after apply)
      + owner_id               = (known after apply)
      + route                  = (known after apply)
      + tags                   = {
          + "Name" = "pretf-example-project-stage"
        }
      + vpc_id                 = (known after apply)
    }

  # aws_internet_gateway.igw will be created
  + resource "aws_internet_gateway" "igw" {
      + id       = (known after apply)
      + owner_id = (known after apply)
      + tags     = {
          + "Name" = "pretf-example-project-stage"
        }
      + vpc_id   = (known after apply)
    }

  # aws_vpc.vpc will be created
  + resource "aws_vpc" "vpc" {
      + arn                              = (known after apply)
      + assign_generated_ipv6_cidr_block = false
      + cidr_block                       = "10.2.0.0/16"
      + default_network_acl_id           = (known after apply)
      + default_route_table_id           = (known after apply)
      + default_security_group_id        = (known after apply)
      + dhcp_options_id                  = (known after apply)
      + enable_classiclink               = (known after apply)
      + enable_classiclink_dns_support   = (known after apply)
      + enable_dns_hostnames             = true
      + enable_dns_support               = true
      + id                               = (known after apply)
      + instance_tenancy                 = "default"
      + ipv6_association_id              = (known after apply)
      + ipv6_cidr_block                  = (known after apply)
      + main_route_table_id              = (known after apply)
      + owner_id                         = (known after apply)
      + tags                             = {
          + "Name" = "pretf-example-project-stage"
        }
    }

  # aws_vpc_dhcp_options.vpc will be created
  + resource "aws_vpc_dhcp_options" "vpc" {
      + domain_name         = "eu-west-1.compute.internal"
      + domain_name_servers = [
          + "AmazonProvidedDNS",
        ]
      + id                  = (known after apply)
      + owner_id            = (known after apply)
      + tags                = {
          + "Name" = "pretf-example-project-stage"
        }
    }

  # aws_vpc_dhcp_options_association.vpc_dhcp will be created
  + resource "aws_vpc_dhcp_options_association" "vpc_dhcp" {
      + dhcp_options_id = (known after apply)
      + id              = (known after apply)
      + vpc_id          = (known after apply)
    }

Plan: 5 to add, 0 to change, 0 to destroy.
Releasing state lock. This may take a few moments...
[pretf] clean: README.md main.tf outputs.tf stack.tf.json stack.tf.py variables.tf vpc.auto.tfvars.json vpc.auto.tfvars.py

You can check the execution log to learn more!

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