This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Terraform plan in . Plan: 0 to add, 0 to change, 16 to destroy. Changes to Outputs.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
- destroy
Terraform will perform the following actions:
# module.dashboard.module.web.aws_acm_certificate.lb will be destroyed
- resource "aws_acm_certificate" "lb" {
- arn = "arn:aws:acm:us-east-1:587807691409:certificate/ed185719-6ca1-4e23-b706-e50ea062308a" -> null
- domain_name = "dashboard.sandbox.datagov.us" -> null
- domain_validation_options = [
- {
- domain_name = "dashboard.sandbox.datagov.us"
- resource_record_name = "_e9b9e3d93fa324b27b73f92fb0df72e2.dashboard.sandbox.datagov.us."
- resource_record_type = "CNAME"
- resource_record_value = "_af15a7a8e89977d539fb631793dc5c88.nhqijqilxf.acm-validations.aws."
},
] -> null
- id = "arn:aws:acm:us-east-1:587807691409:certificate/ed185719-6ca1-4e23-b706-e50ea062308a" -> null
- status = "ISSUED" -> null
- subject_alternative_names = [] -> null
- tags = {
- "env" = "sandbox"
} -> null
- tags_all = {
- "env" = "sandbox"
} -> null
- validation_emails = [] -> null
- validation_method = "DNS" -> null
- options {
- certificate_transparency_logging_preference = "ENABLED" -> null
}
}
# module.dashboard.module.web.aws_acm_certificate_validation.lb will be destroyed
- resource "aws_acm_certificate_validation" "lb" {
- certificate_arn = "arn:aws:acm:us-east-1:587807691409:certificate/ed185719-6ca1-4e23-b706-e50ea062308a" -> null
- id = "2021-03-18 01:34:27 +0000 UTC" -> null
- validation_record_fqdns = [
- "_e9b9e3d93fa324b27b73f92fb0df72e2.dashboard.sandbox.datagov.us",
] -> null
}
# module.dashboard.module.web.aws_instance.web[0] will be destroyed
- resource "aws_instance" "web" {
- ami = "ami-0cfc05f17eac80275" -> null
- arn = "arn:aws:ec2:us-east-1:587807691409:instance/i-05529b6fe3221157d" -> null
- associate_public_ip_address = false -> null
- availability_zone = "us-east-1a" -> null
- cpu_core_count = 1 -> null
- cpu_threads_per_core = 1 -> null
- disable_api_termination = false -> null
- ebs_optimized = false -> null
- get_password_data = false -> null
- hibernation = false -> null
- id = "i-05529b6fe3221157d" -> null
- instance_initiated_shutdown_behavior = "stop" -> null
- instance_state = "running" -> null
- instance_type = "t2.micro" -> null
- ipv6_address_count = 0 -> null
- ipv6_addresses = [] -> null
- key_name = "datagov-sandbox" -> null
- monitoring = false -> null
- primary_network_interface_id = "eni-0f10aa95eb4bd4112" -> null
- private_dns = "ip-10-0-1-51.ec2.internal" -> null
- private_ip = "10.0.1.51" -> null
- secondary_private_ips = [] -> null
- security_groups = [] -> null
- source_dest_check = true -> null
- subnet_id = "subnet-0bbe8705ad1ce9a08" -> null
- tags = {
- "Name" = "dashboard-web1tf"
- "env" = "sandbox"
- "group" = "dashboard_web"
} -> null
- tags_all = {
- "Name" = "dashboard-web1tf"
- "env" = "sandbox"
- "group" = "dashboard_web"
} -> null
- tenancy = "default" -> null
- vpc_security_group_ids = [
- "sg-01465b85df2ea8e05",
- "sg-0599014293c0c3234",
- "sg-06d027616535125d5",
] -> null
- capacity_reservation_specification {
- capacity_reservation_preference = "open" -> null
}
- credit_specification {
- cpu_credits = "standard" -> null
}
- enclave_options {
- enabled = false -> null
}
- metadata_options {
- http_endpoint = "enabled" -> null
- http_put_response_hop_limit = 1 -> null
- http_tokens = "optional" -> null
}
- root_block_device {
- delete_on_termination = true -> null
- device_name = "/dev/sda1" -> null
- encrypted = false -> null
- iops = 100 -> null
- tags = {} -> null
- throughput = 0 -> null
- volume_id = "vol-097bfad44fed214b9" -> null
- volume_size = 8 -> null
- volume_type = "gp2" -> null
}
}
# module.dashboard.module.web.aws_lb_target_group_attachment.lb[0] will be destroyed
- resource "aws_lb_target_group_attachment" "lb" {
- id = "arn:aws:elasticloadbalancing:us-east-1:587807691409:targetgroup/dashboard-web-sandbox/43eae2b2e421ab6e-20210914185820479500000001" -> null
- target_group_arn = "arn:aws:elasticloadbalancing:us-east-1:587807691409:targetgroup/dashboard-web-sandbox/43eae2b2e421ab6e" -> null
- target_id = "i-05529b6fe3221157d" -> null
}
# module.dashboard.module.web.aws_route53_record.lb will be destroyed
- resource "aws_route53_record" "lb" {
- fqdn = "dashboard.sandbox.datagov.us" -> null
- id = "Z05804831W9PRQ2GEV3V1_dashboard_CNAME" -> null
- name = "dashboard" -> null
- records = [
- "dashboard-sandbox-tf-115673676.us-east-1.elb.amazonaws.com",
] -> null
- ttl = 300 -> null
- type = "CNAME" -> null
- zone_id = "Z05804831W9PRQ2GEV3V1" -> null
}
# module.dashboard.module.web.aws_route53_record.lb_cert_validation will be destroyed
- resource "aws_route53_record" "lb_cert_validation" {
- fqdn = "_e9b9e3d93fa324b27b73f92fb0df72e2.dashboard.sandbox.datagov.us" -> null
- id = "Z05804831W9PRQ2GEV3V1__e9b9e3d93fa324b27b73f92fb0df72e2.dashboard.sandbox.datagov.us._CNAME" -> null
- name = "_e9b9e3d93fa324b27b73f92fb0df72e2.dashboard.sandbox.datagov.us" -> null
- records = [
- "_af15a7a8e89977d539fb631793dc5c88.nhqijqilxf.acm-validations.aws.",
] -> null
- ttl = 60 -> null
- type = "CNAME" -> null
- zone_id = "Z05804831W9PRQ2GEV3V1" -> null
}
# module.dashboard.module.web.aws_route53_record.web[0] will be destroyed
- resource "aws_route53_record" "web" {
- fqdn = "dashboard-web1tf.internal.sandbox.datagov.us" -> null
- id = "Z1006361VZ0GA3BRODCA_dashboard-web1tf_CNAME" -> null
- name = "dashboard-web1tf" -> null
- records = [
- "ip-10-0-1-51.ec2.internal",
] -> null
- ttl = 300 -> null
- type = "CNAME" -> null
- zone_id = "Z1006361VZ0GA3BRODCA" -> null
}
# module.dashboard.module.web.aws_security_group.lb will be destroyed
- resource "aws_security_group" "lb" {
- arn = "arn:aws:ec2:us-east-1:587807691409:security-group/sg-0ed53248973202902" -> null
- description = "Load balancer security group for dashboard-sandbox" -> null
- egress = [
- {
- cidr_blocks = [
- "10.0.1.0/24",
- "10.0.2.0/24",
]
- description = ""
- from_port = 443
- ipv6_cidr_blocks = []
- prefix_list_ids = []
- protocol = "tcp"
- security_groups = []
- self = false
- to_port = 443
},
- {
- cidr_blocks = [
- "10.0.1.0/24",
- "10.0.2.0/24",
]
- description = ""
- from_port = 80
- ipv6_cidr_blocks = []
- prefix_list_ids = []
- protocol = "tcp"
- security_groups = []
- self = false
- to_port = 80
},
] -> null
- id = "sg-0ed53248973202902" -> null
- ingress = [
- {
- cidr_blocks = [
- "0.0.0.0/0",
]
- description = ""
- from_port = 443
- ipv6_cidr_blocks = []
- prefix_list_ids = []
- protocol = "tcp"
- security_groups = []
- self = false
- to_port = 443
},
- {
- cidr_blocks = [
- "0.0.0.0/0",
]
- description = ""
- from_port = 80
- ipv6_cidr_blocks = []
- prefix_list_ids = []
- protocol = "tcp"
- security_groups = []
- self = false
- to_port = 80
},
] -> null
- name = "dashboard-sandbox-lb-sg-tf" -> null
- owner_id = "587807691409" -> null
- revoke_rules_on_delete = false -> null
- tags = {} -> null
- tags_all = {} -> null
- vpc_id = "vpc-0e4d22d8b2666bf6f" -> null
}
# module.dashboard.module.web.aws_security_group.web will be destroyed
- resource "aws_security_group" "web" {
- arn = "arn:aws:ec2:us-east-1:587807691409:security-group/sg-06d027616535125d5" -> null
- description = "Web security group" -> null
- egress = [] -> null
- id = "sg-06d027616535125d5" -> null
- ingress = [
- {
- cidr_blocks = []
- description = ""
- from_port = 443
- ipv6_cidr_blocks = []
- prefix_list_ids = []
- protocol = "tcp"
- security_groups = [
- "sg-0ed53248973202902",
]
- self = false
- to_port = 443
},
- {
- cidr_blocks = []
- description = ""
- from_port = 80
- ipv6_cidr_blocks = []
- prefix_list_ids = []
- protocol = "tcp"
- security_groups = [
- "sg-0ed53248973202902",
]
- self = false
- to_port = 80
},
] -> null
- name = "dashboard-sandbox-web-sg-tf" -> null
- owner_id = "587807691409" -> null
- revoke_rules_on_delete = false -> null
- tags = {} -> null
- tags_all = {} -> null
- vpc_id = "vpc-0e4d22d8b2666bf6f" -> null
}
# module.dashboard.module.db.module.database.aws_db_instance.default will be destroyed
- resource "aws_db_instance" "default" {
- address = "terraform-20210317220359466400000001.clsowbdquocd.us-east-1.rds.amazonaws.com" -> null
- allocated_storage = 20 -> null
- arn = "arn:aws:rds:us-east-1:587807691409:db:terraform-20210317220359466400000001" -> null
- auto_minor_version_upgrade = true -> null
- availability_zone = "us-east-1b" -> null
- backup_retention_period = 0 -> null
- backup_window = "09:42-10:12" -> null
- ca_cert_identifier = "rds-ca-2019" -> null
- copy_tags_to_snapshot = false -> null
- customer_owned_ip_enabled = false -> null
- db_subnet_group_name = "datagov-sandbox" -> null
- delete_automated_backups = true -> null
- deletion_protection = false -> null
- enabled_cloudwatch_logs_exports = [] -> null
- endpoint = "terraform-20210317220359466400000001.clsowbdquocd.us-east-1.rds.amazonaws.com:3306" -> null
- engine = "mysql" -> null
- engine_version = "5.7.26" -> null
- engine_version_actual = "5.7.26" -> null
- hosted_zone_id = "Z2R2ITUGPM61AM" -> null
- iam_database_authentication_enabled = false -> null
- id = "terraform-20210317220359466400000001" -> null
- identifier = "terraform-20210317220359466400000001" -> null
- instance_class = "db.t2.micro" -> null
- iops = 0 -> null
- latest_restorable_time = "0001-01-01T00:00:00Z" -> null
- license_model = "general-public-license" -> null
- maintenance_window = "mon:03:39-mon:04:09" -> null
- max_allocated_storage = 0 -> null
- monitoring_interval = 0 -> null
- multi_az = false -> null
- name = "dashboard_db" -> null
- option_group_name = "default:mysql-5-7" -> null
- parameter_group_name = "default.mysql5.7" -> null
- password = (sensitive value)
- performance_insights_enabled = false -> null
- performance_insights_retention_period = 0 -> null
- port = 3306 -> null
- publicly_accessible = false -> null
- replicas = [] -> null
- resource_id = "db-GNTPUVCAYU3MX7HKZDILKS7D3Y" -> null
- security_group_names = [] -> null
- skip_final_snapshot = true -> null
- status = "available" -> null
- storage_encrypted = false -> null
- storage_type = "gp2" -> null
- tags = {} -> null
- tags_all = {} -> null
- username = "dashboard_master" -> null
- vpc_security_group_ids = [
- "sg-0d1c2702a5ed97a2b",
] -> null
}
# module.dashboard.module.db.module.database.aws_security_group.db_access will be destroyed
- resource "aws_security_group" "db_access" {
- arn = "arn:aws:ec2:us-east-1:587807691409:security-group/sg-01465b85df2ea8e05" -> null
- description = "Allowed access to database" -> null
- egress = [
- {
- cidr_blocks = [
- "10.0.0.0/8",
]
- description = ""
- from_port = 3306
- ipv6_cidr_blocks = []
- prefix_list_ids = []
- protocol = "tcp"
- security_groups = []
- self = false
- to_port = 3306
},
] -> null
- id = "sg-01465b85df2ea8e05" -> null
- ingress = [] -> null
- name = "dashboard_db-sandbox-db-access-tf" -> null
- owner_id = "587807691409" -> null
- revoke_rules_on_delete = false -> null
- tags = {} -> null
- tags_all = {} -> null
- vpc_id = "vpc-0e4d22d8b2666bf6f" -> null
}
# module.dashboard.module.db.module.database.aws_security_group.default will be destroyed
- resource "aws_security_group" "default" {
- arn = "arn:aws:ec2:us-east-1:587807691409:security-group/sg-0d1c2702a5ed97a2b" -> null
- description = "Database security group" -> null
- egress = [] -> null
- id = "sg-0d1c2702a5ed97a2b" -> null
- ingress = [
- {
- cidr_blocks = []
- description = ""
- from_port = 3306
- ipv6_cidr_blocks = []
- prefix_list_ids = []
- protocol = "tcp"
- security_groups = [
- "sg-01465b85df2ea8e05",
]
- self = false
- to_port = 3306
},
] -> null
- name = "dashboard_db-sandbox-db-tf" -> null
- owner_id = "587807691409" -> null
- revoke_rules_on_delete = false -> null
- tags = {} -> null
- tags_all = {} -> null
- vpc_id = "vpc-0e4d22d8b2666bf6f" -> null
}
# module.dashboard.module.web.module.lb.aws_lb.this[0] will be destroyed
- resource "aws_lb" "this" {
- arn = "arn:aws:elasticloadbalancing:us-east-1:587807691409:loadbalancer/app/dashboard-sandbox-tf/1c1a91de24b5aad4" -> null
- arn_suffix = "app/dashboard-sandbox-tf/1c1a91de24b5aad4" -> null
- dns_name = "dashboard-sandbox-tf-115673676.us-east-1.elb.amazonaws.com" -> null
- drop_invalid_header_fields = false -> null
- enable_deletion_protection = false -> null
- enable_http2 = true -> null
- id = "arn:aws:elasticloadbalancing:us-east-1:587807691409:loadbalancer/app/dashboard-sandbox-tf/1c1a91de24b5aad4" -> null
- idle_timeout = 60 -> null
- internal = false -> null
- ip_address_type = "ipv4" -> null
- load_balancer_type = "application" -> null
- name = "dashboard-sandbox-tf" -> null
- security_groups = [
- "sg-0ed53248973202902",
] -> null
- subnets = [
- "subnet-03ad95501c749e10a",
- "subnet-0851c49a6d7007b74",
] -> null
- tags = {
- "Environment" = "sandbox"
- "Name" = "dashboard-sandbox-tf"
- "Terraform" = "true"
} -> null
- tags_all = {
- "Environment" = "sandbox"
- "Name" = "dashboard-sandbox-tf"
- "Terraform" = "true"
} -> null
- vpc_id = "vpc-0e4d22d8b2666bf6f" -> null
- zone_id = "Z35SXDOTRQ7X7K" -> null
- access_logs {
- enabled = false -> null
}
- subnet_mapping {
- subnet_id = "subnet-03ad95501c749e10a" -> null
}
- subnet_mapping {
- subnet_id = "subnet-0851c49a6d7007b74" -> null
}
- timeouts {
- create = "10m" -> null
- delete = "10m" -> null
- update = "10m" -> null
}
}
# module.dashboard.module.web.module.lb.aws_lb_listener.frontend_http_tcp[0] will be destroyed
- resource "aws_lb_listener" "frontend_http_tcp" {
- arn = "arn:aws:elasticloadbalancing:us-east-1:587807691409:listener/app/dashboard-sandbox-tf/1c1a91de24b5aad4/99f93f24100ac575" -> null
- id = "arn:aws:elasticloadbalancing:us-east-1:587807691409:listener/app/dashboard-sandbox-tf/1c1a91de24b5aad4/99f93f24100ac575" -> null
- load_balancer_arn = "arn:aws:elasticloadbalancing:us-east-1:587807691409:loadbalancer/app/dashboard-sandbox-tf/1c1a91de24b5aad4" -> null
- port = 80 -> null
- protocol = "HTTP" -> null
- tags = {
- "Environment" = "sandbox"
- "Terraform" = "true"
} -> null
- tags_all = {
- "Environment" = "sandbox"
- "Terraform" = "true"
} -> null
- default_action {
- order = 1 -> null
- type = "redirect" -> null
- redirect {
- host = "#{host}" -> null
- path = "/#{path}" -> null
- port = "443" -> null
- protocol = "HTTPS" -> null
- query = "#{query}" -> null
- status_code = "HTTP_302" -> null
}
}
}
# module.dashboard.module.web.module.lb.aws_lb_listener.frontend_https[0] will be destroyed
- resource "aws_lb_listener" "frontend_https" {
- arn = "arn:aws:elasticloadbalancing:us-east-1:587807691409:listener/app/dashboard-sandbox-tf/1c1a91de24b5aad4/cbcac3ad9867ac61" -> null
- certificate_arn = "arn:aws:acm:us-east-1:587807691409:certificate/ed185719-6ca1-4e23-b706-e50ea062308a" -> null
- id = "arn:aws:elasticloadbalancing:us-east-1:587807691409:listener/app/dashboard-sandbox-tf/1c1a91de24b5aad4/cbcac3ad9867ac61" -> null
- load_balancer_arn = "arn:aws:elasticloadbalancing:us-east-1:587807691409:loadbalancer/app/dashboard-sandbox-tf/1c1a91de24b5aad4" -> null
- port = 443 -> null
- protocol = "HTTPS" -> null
- ssl_policy = "ELBSecurityPolicy-TLS-1-2-2017-01" -> null
- tags = {
- "Environment" = "sandbox"
- "Terraform" = "true"
} -> null
- tags_all = {
- "Environment" = "sandbox"
- "Terraform" = "true"
} -> null
- default_action {
- order = 1 -> null
- target_group_arn = "arn:aws:elasticloadbalancing:us-east-1:587807691409:targetgroup/dashboard-web-sandbox/43eae2b2e421ab6e" -> null
- type = "forward" -> null
}
}
# module.dashboard.module.web.module.lb.aws_lb_target_group.main[0] will be destroyed
- resource "aws_lb_target_group" "main" {
- arn = "arn:aws:elasticloadbalancing:us-east-1:587807691409:targetgroup/dashboard-web-sandbox/43eae2b2e421ab6e" -> null
- arn_suffix = "targetgroup/dashboard-web-sandbox/43eae2b2e421ab6e" -> null
- deregistration_delay = 300 -> null
- id = "arn:aws:elasticloadbalancing:us-east-1:587807691409:targetgroup/dashboard-web-sandbox/43eae2b2e421ab6e" -> null
- lambda_multi_value_headers_enabled = false -> null
- load_balancing_algorithm_type = "round_robin" -> null
- name = "dashboard-web-sandbox" -> null
- port = 443 -> null
- protocol = "HTTPS" -> null
- protocol_version = "HTTP1" -> null
- proxy_protocol_v2 = false -> null
- slow_start = 0 -> null
- tags = {
- "Environment" = "sandbox"
- "Name" = "dashboard-web-sandbox"
- "Terraform" = "true"
} -> null
- tags_all = {
- "Environment" = "sandbox"
- "Name" = "dashboard-web-sandbox"
- "Terraform" = "true"
} -> null
- target_type = "instance" -> null
- vpc_id = "vpc-0e4d22d8b2666bf6f" -> null
- health_check {
- enabled = true -> null
- healthy_threshold = 5 -> null
- interval = 30 -> null
- matcher = "200" -> null
- path = "/" -> null
- port = "traffic-port" -> null
- protocol = "HTTPS" -> null
- timeout = 5 -> null
- unhealthy_threshold = 2 -> null
}
- stickiness {
- cookie_duration = 86400 -> null
- enabled = false -> null
- type = "lb_cookie" -> null
}
}
Plan: 0 to add, 0 to change, 16 to destroy.
Changes to Outputs:
- dashboard_db_host = (sensitive value)
- dashboard_db_password = (sensitive value) ✅ Plan applied in apply #22 |
dashboard.data.gov is no live on cloud.gov, remove from the FCS-like sandbox.
adborden
force-pushed
the
feature/remove-dashboard
branch
from
December 7, 2021 02:04
7a99690
to
293dc6e
Compare
jbrown-xentity
approved these changes
Dec 7, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
GSA/data.gov#3555
dashboard.data.gov is no live on cloud.gov, remove from the FCS-like sandbox.