Skip to content

Instantly share code, notes, and snippets.

@bhcopeland
Created February 25, 2021 12:46
Show Gist options
  • Select an option

  • Save bhcopeland/e5ed8a45d675039e7ae383b8a2cefb43 to your computer and use it in GitHub Desktop.

Select an option

Save bhcopeland/e5ed8a45d675039e7ae383b8a2cefb43 to your computer and use it in GitHub Desktop.
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.template_file.script: Refreshing state...
data.template_cloudinit_config.config: Refreshing state...
module.gitlab_runner_manager_role.aws_iam_role.role: Refreshing state... [id=gitlab_runner_manager_role]
module.lkft_gl_packages.aws_s3_bucket.s3bucket: Refreshing state... [id=lkft-gl-packages]
module.gitlab_storage_artifacts.aws_s3_bucket.s3bucket: Refreshing state... [id=lkft-gl-artifacts]
module.lkft_gl_external_diffs.aws_s3_bucket.s3bucket: Refreshing state... [id=lkft-gl-external-diffs]
module.lkft_gl_lfs_objects.aws_s3_bucket.s3bucket: Refreshing state... [id=lkft-gl-lfs-objects]
module.lkft_runner_cache.aws_s3_bucket.s3bucket: Refreshing state... [id=lkft-runner-cache]
module.lkft_gl_dependency_proxy.aws_s3_bucket.s3bucket: Refreshing state... [id=lkft-gl-dependency-proxy]
module.gitlab_role.aws_iam_role.role: Refreshing state... [id=gitlab_role]
aws_ebs_volume.lkft-gitlab-cache: Refreshing state... [id=vol-0178ae514da5004b7]
aws_vpc.lkft-vpc: Refreshing state... [id=vpc-0088d6761c7eeb5ef]
module.lkft_gl_uploads.aws_s3_bucket.s3bucket: Refreshing state... [id=lkft-gl-uploads]
module.ec2_runner_policy.aws_iam_role_policy.role_policy: Refreshing state... [id=gitlab_runner_manager_role:terraform-20210215164020412400000003]
module.s3_runner_policy.aws_iam_role_policy.role_policy: Refreshing state... [id=gitlab_runner_manager_role:terraform-20210215164019490400000002]
module.gitlab_runner_manager_instance_profile.aws_iam_instance_profile.profile: Refreshing state... [id=gitlab_runner_manager_instance_profile]
module.s3_write_policy.aws_iam_role_policy.role_policy: Refreshing state... [id=gitlab_role:terraform-20210215164016739900000001]
module.gitlab_instance_profile.aws_iam_instance_profile.profile: Refreshing state... [id=gitlab_instance_profile]
aws_subnet.lkft-runner-subnet-c: Refreshing state... [id=subnet-0fdb5cc1e951bb530]
aws_subnet.lkft-subnet: Refreshing state... [id=subnet-0e76da657a939857f]
aws_subnet.lkft-runner-subnet-b: Refreshing state... [id=subnet-05cc900d5757d88d7]
aws_security_group.lkft-web-sg: Refreshing state... [id=sg-02925c635fd03bad7]
aws_security_group.lkft-sg: Refreshing state... [id=sg-06e797ecc8500d23c]
aws_subnet.lkft-runner-subnet-a: Refreshing state... [id=subnet-0588de4080aef3e24]
aws_subnet.lkft-runner-subnet-d: Refreshing state... [id=subnet-0da48ff36ad907d31]
aws_internet_gateway.lkft-gw: Refreshing state... [id=igw-01cea05b94dbdc765]
aws_instance.lkft-gitlab-runner-manager: Refreshing state... [id=i-0ffeb33755552d84e]
aws_security_group.lkft-runner-sg: Refreshing state... [id=sg-0b7336076fabf6acb]
aws_route_table.lkft-route-table: Refreshing state... [id=rtb-03562a0729431bd87]
aws_route_table_association.lkft-runner-subnet-c-association: Refreshing state... [id=rtbassoc-0502bfb349961a939]
aws_route_table_association.lkft-runner-subnet-a-association: Refreshing state... [id=rtbassoc-04569144da7e909c9]
aws_route_table_association.lkft-subnet-association: Refreshing state... [id=rtbassoc-08e6ce70743ce0b11]
aws_route_table_association.lkft-runner-subnet-d-association: Refreshing state... [id=rtbassoc-063dd7c4f1cba1b83]
aws_route_table_association.lkft-runner-subnet-b-association: Refreshing state... [id=rtbassoc-0f3405b47c3dc11d1]
aws_eip.lkft-gitlab-runner-manager-ip: Refreshing state... [id=eipalloc-0debf8d07f9754da4]
aws_route53_record.lkft-gitlab-runner-manager-dns: Refreshing state... [id=Z2GJ2XIMVV5TPO_gitlab-runner-manager_A]
------------------------------------------------------------------------
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_instance.lkft-gitlab-runner-manager-large will be created
 + resource "aws_instance" "lkft-gitlab-runner-manager-large" {
+ ami = "ami-0f09eaf66dffb40fd"
+ arn = (known after apply)
+ associate_public_ip_address = (known after apply)
+ availability_zone = (known after apply)
+ cpu_core_count = (known after apply)
+ cpu_threads_per_core = (known after apply)
+ get_password_data = false
+ host_id = (known after apply)
+ iam_instance_profile = "gitlab_runner_manager_instance_profile"
+ id = (known after apply)
+ instance_state = (known after apply)
+ instance_type = "t4g.micro"
+ ipv6_address_count = (known after apply)
+ ipv6_addresses = (known after apply)
+ key_name = "systems-bot-ssh"
+ outpost_arn = (known after apply)
+ password_data = (known after apply)
+ placement_group = (known after apply)
+ primary_network_interface_id = (known after apply)
+ private_dns = (known after apply)
+ private_ip = (known after apply)
+ public_dns = (known after apply)
+ public_ip = (known after apply)
+ secondary_private_ips = (known after apply)
+ security_groups = (known after apply)
+ source_dest_check = true
+ subnet_id = "subnet-0e76da657a939857f"
+ tags = {
+ "Name" = "lkft Gitlab runner manager (large builders)"
}
+ tenancy = (known after apply)
+ vpc_security_group_ids = [
+ "sg-06e797ecc8500d23c",
]
+ ebs_block_device {
+ delete_on_termination = (known after apply)
+ device_name = (known after apply)
+ encrypted = (known after apply)
+ iops = (known after apply)
+ kms_key_id = (known after apply)
+ snapshot_id = (known after apply)
+ tags = (known after apply)
+ throughput = (known after apply)
+ volume_id = (known after apply)
+ volume_size = (known after apply)
+ volume_type = (known after apply)
}
+ enclave_options {
+ enabled = (known after apply)
}
+ ephemeral_block_device {
+ device_name = (known after apply)
+ no_device = (known after apply)
+ virtual_name = (known after apply)
}
+ metadata_options {
+ http_endpoint = (known after apply)
+ http_put_response_hop_limit = (known after apply)
+ http_tokens = (known after apply)
}
+ network_interface {
+ delete_on_termination = (known after apply)
+ device_index = (known after apply)
+ network_interface_id = (known after apply)
}
+ root_block_device {
+ delete_on_termination = (known after apply)
+ device_name = (known after apply)
+ encrypted = (known after apply)
+ iops = (known after apply)
+ kms_key_id = (known after apply)
+ tags = (known after apply)
+ throughput = (known after apply)
+ volume_id = (known after apply)
+ volume_size = (known after apply)
+ volume_type = (known after apply)
}
}
 # aws_route53_record.lkft-gitlab-runner-manager-dns-large will be created
 + resource "aws_route53_record" "lkft-gitlab-runner-manager-dns-large" {
+ allow_overwrite = (known after apply)
+ fqdn = (known after apply)
+ id = (known after apply)
+ name = "gitlab-runner-manager-large"
+ records = [
+ "52.70.137.192",
]
+ ttl = 60
+ type = "A"
+ zone_id = "Z2GJ2XIMVV5TPO"
}
Plan: 2 to add, 0 to change, 0 to destroy.
------------------------------------------------------------------------
Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment