1574 lines
59 KiB
Text
1574 lines
59 KiB
Text
|
{
|
||
|
"version": 4,
|
||
|
"terraform_version": "1.6.2",
|
||
|
"serial": 274,
|
||
|
"lineage": "eee76b09-c66c-0cf5-be4a-cdd9e6b807e9",
|
||
|
"outputs": {},
|
||
|
"resources": [
|
||
|
{
|
||
|
"mode": "data",
|
||
|
"type": "aws_availability_zones",
|
||
|
"name": "available",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"all_availability_zones": null,
|
||
|
"exclude_names": null,
|
||
|
"exclude_zone_ids": null,
|
||
|
"filter": null,
|
||
|
"group_names": [
|
||
|
"eu-west-1"
|
||
|
],
|
||
|
"id": "eu-west-1",
|
||
|
"names": [
|
||
|
"eu-west-1a",
|
||
|
"eu-west-1b",
|
||
|
"eu-west-1c"
|
||
|
],
|
||
|
"state": null,
|
||
|
"timeouts": null,
|
||
|
"zone_ids": [
|
||
|
"euw1-az1",
|
||
|
"euw1-az2",
|
||
|
"euw1-az3"
|
||
|
]
|
||
|
},
|
||
|
"sensitive_attributes": []
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"mode": "managed",
|
||
|
"type": "aws_ecs_service",
|
||
|
"name": "service",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"alarms": [],
|
||
|
"capacity_provider_strategy": [],
|
||
|
"cluster": "arn:aws:ecs:eu-west-1:355614969320:cluster/chat-app-demo",
|
||
|
"deployment_circuit_breaker": [
|
||
|
{
|
||
|
"enable": false,
|
||
|
"rollback": false
|
||
|
}
|
||
|
],
|
||
|
"deployment_controller": [
|
||
|
{
|
||
|
"type": "ECS"
|
||
|
}
|
||
|
],
|
||
|
"deployment_maximum_percent": 200,
|
||
|
"deployment_minimum_healthy_percent": 100,
|
||
|
"desired_count": 1,
|
||
|
"enable_ecs_managed_tags": false,
|
||
|
"enable_execute_command": false,
|
||
|
"force_new_deployment": null,
|
||
|
"health_check_grace_period_seconds": 0,
|
||
|
"iam_role": "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS",
|
||
|
"id": "arn:aws:ecs:eu-west-1:355614969320:service/chat-app-demo/valkey",
|
||
|
"launch_type": "FARGATE",
|
||
|
"load_balancer": [],
|
||
|
"name": "valkey",
|
||
|
"network_configuration": [
|
||
|
{
|
||
|
"assign_public_ip": false,
|
||
|
"security_groups": [
|
||
|
"sg-0e041494928dc0a6b"
|
||
|
],
|
||
|
"subnets": [
|
||
|
"subnet-03484242e7e025e98",
|
||
|
"subnet-08a36304b08dcd4df",
|
||
|
"subnet-0d743b4c62e3de6de"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"ordered_placement_strategy": [],
|
||
|
"placement_constraints": [],
|
||
|
"platform_version": "LATEST",
|
||
|
"propagate_tags": "NONE",
|
||
|
"scheduling_strategy": "REPLICA",
|
||
|
"service_connect_configuration": [
|
||
|
{
|
||
|
"enabled": true,
|
||
|
"log_configuration": [],
|
||
|
"namespace": "chat-app-demo",
|
||
|
"service": [
|
||
|
{
|
||
|
"client_alias": [
|
||
|
{
|
||
|
"dns_name": "valkey",
|
||
|
"port": 6379
|
||
|
}
|
||
|
],
|
||
|
"discovery_name": "valkey",
|
||
|
"ingress_port_override": 0,
|
||
|
"port_name": "valkey",
|
||
|
"timeout": [],
|
||
|
"tls": []
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"service_registries": [],
|
||
|
"tags": {},
|
||
|
"tags_all": {},
|
||
|
"task_definition": "service:3",
|
||
|
"timeouts": null,
|
||
|
"triggers": {},
|
||
|
"wait_for_steady_state": false
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19",
|
||
|
"dependencies": [
|
||
|
"aws_ecs_task_definition.task",
|
||
|
"aws_security_group.sg",
|
||
|
"data.aws_availability_zones.available",
|
||
|
"module.ecs_cluster.aws_cloudwatch_log_group.this",
|
||
|
"module.ecs_cluster.aws_ecs_cluster.this",
|
||
|
"module.vpc.aws_subnet.private",
|
||
|
"module.vpc.aws_vpc.this",
|
||
|
"module.vpc.aws_vpc_ipv4_cidr_block_association.this"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"mode": "managed",
|
||
|
"type": "aws_ecs_task_definition",
|
||
|
"name": "task",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 1,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ecs:eu-west-1:355614969320:task-definition/service:4",
|
||
|
"arn_without_revision": "arn:aws:ecs:eu-west-1:355614969320:task-definition/service",
|
||
|
"container_definitions": "[{\"cpu\":512,\"environment\":[],\"essential\":true,\"image\":\"valkey/valkey:7.2.4-rc1-alpine\",\"memory\":1024,\"mountPoints\":[],\"name\":\"valkey\",\"portMappings\":[{\"containerPort\":6379,\"hostPort\":6379,\"name\":\"valkey\",\"protocol\":\"tcp\"}],\"systemControls\":[],\"volumesFrom\":[]}]",
|
||
|
"cpu": "512",
|
||
|
"ephemeral_storage": [],
|
||
|
"execution_role_arn": "",
|
||
|
"family": "service",
|
||
|
"id": "service",
|
||
|
"inference_accelerator": [],
|
||
|
"ipc_mode": "",
|
||
|
"memory": "1024",
|
||
|
"network_mode": "awsvpc",
|
||
|
"pid_mode": "",
|
||
|
"placement_constraints": [],
|
||
|
"proxy_configuration": [],
|
||
|
"requires_compatibilities": [
|
||
|
"EC2",
|
||
|
"FARGATE"
|
||
|
],
|
||
|
"revision": 4,
|
||
|
"runtime_platform": [],
|
||
|
"skip_destroy": false,
|
||
|
"tags": {},
|
||
|
"tags_all": {},
|
||
|
"task_role_arn": "",
|
||
|
"track_latest": false,
|
||
|
"volume": []
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ=="
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"mode": "managed",
|
||
|
"type": "aws_security_group",
|
||
|
"name": "sg",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 1,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ec2:eu-west-1:355614969320:security-group/sg-0e041494928dc0a6b",
|
||
|
"description": "Managed by Terraform",
|
||
|
"egress": [
|
||
|
{
|
||
|
"cidr_blocks": [
|
||
|
"0.0.0.0/0"
|
||
|
],
|
||
|
"description": "",
|
||
|
"from_port": 0,
|
||
|
"ipv6_cidr_blocks": [],
|
||
|
"prefix_list_ids": [],
|
||
|
"protocol": "-1",
|
||
|
"security_groups": [],
|
||
|
"self": false,
|
||
|
"to_port": 0
|
||
|
}
|
||
|
],
|
||
|
"id": "sg-0e041494928dc0a6b",
|
||
|
"ingress": [
|
||
|
{
|
||
|
"cidr_blocks": [
|
||
|
"0.0.0.0/0"
|
||
|
],
|
||
|
"description": "Port 80",
|
||
|
"from_port": 6379,
|
||
|
"ipv6_cidr_blocks": [],
|
||
|
"prefix_list_ids": [],
|
||
|
"protocol": "tcp",
|
||
|
"security_groups": [],
|
||
|
"self": false,
|
||
|
"to_port": 6379
|
||
|
},
|
||
|
{
|
||
|
"cidr_blocks": [],
|
||
|
"description": "",
|
||
|
"from_port": 0,
|
||
|
"ipv6_cidr_blocks": [],
|
||
|
"prefix_list_ids": [],
|
||
|
"protocol": "-1",
|
||
|
"security_groups": [],
|
||
|
"self": true,
|
||
|
"to_port": 0
|
||
|
}
|
||
|
],
|
||
|
"name": "ecs",
|
||
|
"name_prefix": "",
|
||
|
"owner_id": "355614969320",
|
||
|
"revoke_rules_on_delete": false,
|
||
|
"tags": {},
|
||
|
"tags_all": {},
|
||
|
"timeouts": null,
|
||
|
"vpc_id": "vpc-036c1349ddd4a46ce"
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6OTAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0=",
|
||
|
"dependencies": [
|
||
|
"module.vpc.aws_vpc.this"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"mode": "managed",
|
||
|
"type": "aws_service_discovery_http_namespace",
|
||
|
"name": "this",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:servicediscovery:eu-west-1:355614969320:namespace/ns-7exezy2cesetek5e",
|
||
|
"description": "CloudMap namespace for chat-app-demo",
|
||
|
"http_name": "chat-app-demo",
|
||
|
"id": "ns-7exezy2cesetek5e",
|
||
|
"name": "chat-app-demo",
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
}
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "bnVsbA=="
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.alb",
|
||
|
"mode": "managed",
|
||
|
"type": "aws_lb_target_group",
|
||
|
"name": "this",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": "ex_ecs",
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:elasticloadbalancing:eu-west-1:355614969320:targetgroup/tf-20240415175838841400000009/035dee14007ac0e1",
|
||
|
"arn_suffix": "targetgroup/tf-20240415175838841400000009/035dee14007ac0e1",
|
||
|
"connection_termination": null,
|
||
|
"deregistration_delay": "5",
|
||
|
"health_check": [
|
||
|
{
|
||
|
"enabled": true,
|
||
|
"healthy_threshold": 5,
|
||
|
"interval": 30,
|
||
|
"matcher": "200",
|
||
|
"path": "/",
|
||
|
"port": "traffic-port",
|
||
|
"protocol": "HTTP",
|
||
|
"timeout": 5,
|
||
|
"unhealthy_threshold": 2
|
||
|
}
|
||
|
],
|
||
|
"id": "arn:aws:elasticloadbalancing:eu-west-1:355614969320:targetgroup/tf-20240415175838841400000009/035dee14007ac0e1",
|
||
|
"ip_address_type": "ipv4",
|
||
|
"lambda_multi_value_headers_enabled": false,
|
||
|
"load_balancer_arns": [
|
||
|
"arn:aws:elasticloadbalancing:eu-west-1:355614969320:loadbalancer/app/chat-app-demo/9cf8ea90daa21fc1"
|
||
|
],
|
||
|
"load_balancing_algorithm_type": "round_robin",
|
||
|
"load_balancing_anomaly_mitigation": "off",
|
||
|
"load_balancing_cross_zone_enabled": "true",
|
||
|
"name": "tf-20240415175838841400000009",
|
||
|
"name_prefix": "tf-",
|
||
|
"port": 80,
|
||
|
"preserve_client_ip": null,
|
||
|
"protocol": "HTTP",
|
||
|
"protocol_version": "HTTP1",
|
||
|
"proxy_protocol_v2": false,
|
||
|
"slow_start": 0,
|
||
|
"stickiness": [
|
||
|
{
|
||
|
"cookie_duration": 86400,
|
||
|
"cookie_name": "",
|
||
|
"enabled": false,
|
||
|
"type": "lb_cookie"
|
||
|
}
|
||
|
],
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs",
|
||
|
"terraform-aws-modules": "alb"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs",
|
||
|
"terraform-aws-modules": "alb"
|
||
|
},
|
||
|
"target_failover": [
|
||
|
{
|
||
|
"on_deregistration": null,
|
||
|
"on_unhealthy": null
|
||
|
}
|
||
|
],
|
||
|
"target_health_state": [
|
||
|
{
|
||
|
"enable_unhealthy_connection_termination": null
|
||
|
}
|
||
|
],
|
||
|
"target_type": "ip",
|
||
|
"vpc_id": "vpc-036c1349ddd4a46ce"
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "bnVsbA==",
|
||
|
"dependencies": [
|
||
|
"module.vpc.aws_vpc.this"
|
||
|
],
|
||
|
"create_before_destroy": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.alb",
|
||
|
"mode": "managed",
|
||
|
"type": "aws_security_group",
|
||
|
"name": "this",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 1,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ec2:eu-west-1:355614969320:security-group/sg-062ee908d87078647",
|
||
|
"description": "Security group for chat-app-demo application load balancer",
|
||
|
"egress": [
|
||
|
{
|
||
|
"cidr_blocks": [
|
||
|
"10.0.0.0/16"
|
||
|
],
|
||
|
"description": "",
|
||
|
"from_port": 0,
|
||
|
"ipv6_cidr_blocks": [],
|
||
|
"prefix_list_ids": [],
|
||
|
"protocol": "-1",
|
||
|
"security_groups": [],
|
||
|
"self": false,
|
||
|
"to_port": 0
|
||
|
}
|
||
|
],
|
||
|
"id": "sg-062ee908d87078647",
|
||
|
"ingress": [
|
||
|
{
|
||
|
"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
|
||
|
}
|
||
|
],
|
||
|
"name": "chat-app-demo-2024041517583920720000000a",
|
||
|
"name_prefix": "chat-app-demo-",
|
||
|
"owner_id": "355614969320",
|
||
|
"revoke_rules_on_delete": false,
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs",
|
||
|
"terraform-aws-modules": "alb"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs",
|
||
|
"terraform-aws-modules": "alb"
|
||
|
},
|
||
|
"timeouts": null,
|
||
|
"vpc_id": "vpc-036c1349ddd4a46ce"
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6OTAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0=",
|
||
|
"dependencies": [
|
||
|
"module.vpc.aws_vpc.this"
|
||
|
],
|
||
|
"create_before_destroy": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_cluster",
|
||
|
"mode": "managed",
|
||
|
"type": "aws_cloudwatch_log_group",
|
||
|
"name": "this",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:logs:eu-west-1:355614969320:log-group:/aws/ecs/chat-app-demo",
|
||
|
"id": "/aws/ecs/chat-app-demo",
|
||
|
"kms_key_id": "",
|
||
|
"log_group_class": "STANDARD",
|
||
|
"name": "/aws/ecs/chat-app-demo",
|
||
|
"name_prefix": "",
|
||
|
"retention_in_days": 90,
|
||
|
"skip_destroy": false,
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
}
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "bnVsbA=="
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_cluster",
|
||
|
"mode": "managed",
|
||
|
"type": "aws_ecs_cluster",
|
||
|
"name": "this",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ecs:eu-west-1:355614969320:cluster/chat-app-demo",
|
||
|
"configuration": [
|
||
|
{
|
||
|
"execute_command_configuration": [
|
||
|
{
|
||
|
"kms_key_id": "",
|
||
|
"log_configuration": [],
|
||
|
"logging": "DEFAULT"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"id": "arn:aws:ecs:eu-west-1:355614969320:cluster/chat-app-demo",
|
||
|
"name": "chat-app-demo",
|
||
|
"service_connect_defaults": [],
|
||
|
"setting": [
|
||
|
{
|
||
|
"name": "containerInsights",
|
||
|
"value": "enabled"
|
||
|
}
|
||
|
],
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
}
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "bnVsbA==",
|
||
|
"dependencies": [
|
||
|
"module.ecs_cluster.aws_cloudwatch_log_group.this"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_service",
|
||
|
"mode": "data",
|
||
|
"type": "aws_caller_identity",
|
||
|
"name": "current",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"account_id": "355614969320",
|
||
|
"arn": "arn:aws:iam::355614969320:user/rharvey",
|
||
|
"id": "355614969320",
|
||
|
"user_id": "AIDAIICBK3Q64EOQBD5HM"
|
||
|
},
|
||
|
"sensitive_attributes": []
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_service",
|
||
|
"mode": "data",
|
||
|
"type": "aws_ecs_task_definition",
|
||
|
"name": "this",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ecs:eu-west-1:355614969320:task-definition/chat-app-demo:11",
|
||
|
"arn_without_revision": "arn:aws:ecs:eu-west-1:355614969320:task-definition/chat-app-demo",
|
||
|
"execution_role_arn": "arn:aws:iam::355614969320:role/chat-app-demo-20240415175826752300000004",
|
||
|
"family": "chat-app-demo",
|
||
|
"id": "arn:aws:ecs:eu-west-1:355614969320:task-definition/chat-app-demo:11",
|
||
|
"network_mode": "awsvpc",
|
||
|
"revision": 11,
|
||
|
"status": "ACTIVE",
|
||
|
"task_definition": "chat-app-demo",
|
||
|
"task_role_arn": "arn:aws:iam::355614969320:role/chat-app-demo-20240415175826751700000003"
|
||
|
},
|
||
|
"sensitive_attributes": []
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_service",
|
||
|
"mode": "data",
|
||
|
"type": "aws_iam_policy_document",
|
||
|
"name": "task_exec_assume",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"id": "2291109037",
|
||
|
"json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"ECSTaskExecutionAssumeRole\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"ecs-tasks.amazonaws.com\"\n }\n }\n ]\n}",
|
||
|
"override_json": null,
|
||
|
"override_policy_documents": null,
|
||
|
"policy_id": null,
|
||
|
"source_json": null,
|
||
|
"source_policy_documents": null,
|
||
|
"statement": [
|
||
|
{
|
||
|
"actions": [
|
||
|
"sts:AssumeRole"
|
||
|
],
|
||
|
"condition": [],
|
||
|
"effect": "Allow",
|
||
|
"not_actions": [],
|
||
|
"not_principals": [],
|
||
|
"not_resources": [],
|
||
|
"principals": [
|
||
|
{
|
||
|
"identifiers": [
|
||
|
"ecs-tasks.amazonaws.com"
|
||
|
],
|
||
|
"type": "Service"
|
||
|
}
|
||
|
],
|
||
|
"resources": [],
|
||
|
"sid": "ECSTaskExecutionAssumeRole"
|
||
|
}
|
||
|
],
|
||
|
"version": "2012-10-17"
|
||
|
},
|
||
|
"sensitive_attributes": []
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_service",
|
||
|
"mode": "data",
|
||
|
"type": "aws_iam_policy_document",
|
||
|
"name": "tasks_assume",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"id": "780565365",
|
||
|
"json": "{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"ECSTasksAssumeRole\",\n \"Effect\": \"Allow\",\n \"Action\": \"sts:AssumeRole\",\n \"Principal\": {\n \"Service\": \"ecs-tasks.amazonaws.com\"\n },\n \"Condition\": {\n \"ArnLike\": {\n \"aws:SourceArn\": \"arn:aws:ecs:eu-west-1:355614969320:*\"\n },\n \"StringEquals\": {\n \"aws:SourceAccount\": \"355614969320\"\n }\n }\n }\n ]\n}",
|
||
|
"override_json": null,
|
||
|
"override_policy_documents": null,
|
||
|
"policy_id": null,
|
||
|
"source_json": null,
|
||
|
"source_policy_documents": null,
|
||
|
"statement": [
|
||
|
{
|
||
|
"actions": [
|
||
|
"sts:AssumeRole"
|
||
|
],
|
||
|
"condition": [
|
||
|
{
|
||
|
"test": "ArnLike",
|
||
|
"values": [
|
||
|
"arn:aws:ecs:eu-west-1:355614969320:*"
|
||
|
],
|
||
|
"variable": "aws:SourceArn"
|
||
|
},
|
||
|
{
|
||
|
"test": "StringEquals",
|
||
|
"values": [
|
||
|
"355614969320"
|
||
|
],
|
||
|
"variable": "aws:SourceAccount"
|
||
|
}
|
||
|
],
|
||
|
"effect": "Allow",
|
||
|
"not_actions": [],
|
||
|
"not_principals": [],
|
||
|
"not_resources": [],
|
||
|
"principals": [
|
||
|
{
|
||
|
"identifiers": [
|
||
|
"ecs-tasks.amazonaws.com"
|
||
|
],
|
||
|
"type": "Service"
|
||
|
}
|
||
|
],
|
||
|
"resources": [],
|
||
|
"sid": "ECSTasksAssumeRole"
|
||
|
}
|
||
|
],
|
||
|
"version": "2012-10-17"
|
||
|
},
|
||
|
"sensitive_attributes": []
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_service",
|
||
|
"mode": "data",
|
||
|
"type": "aws_partition",
|
||
|
"name": "current",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"dns_suffix": "amazonaws.com",
|
||
|
"id": "aws",
|
||
|
"partition": "aws",
|
||
|
"reverse_dns_prefix": "com.amazonaws"
|
||
|
},
|
||
|
"sensitive_attributes": []
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_service",
|
||
|
"mode": "data",
|
||
|
"type": "aws_region",
|
||
|
"name": "current",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"description": "Europe (Ireland)",
|
||
|
"endpoint": "ec2.eu-west-1.amazonaws.com",
|
||
|
"id": "eu-west-1",
|
||
|
"name": "eu-west-1"
|
||
|
},
|
||
|
"sensitive_attributes": []
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_service",
|
||
|
"mode": "data",
|
||
|
"type": "aws_subnet",
|
||
|
"name": "this",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ec2:eu-west-1:355614969320:subnet/subnet-0d743b4c62e3de6de",
|
||
|
"assign_ipv6_address_on_creation": false,
|
||
|
"availability_zone": "eu-west-1a",
|
||
|
"availability_zone_id": "euw1-az1",
|
||
|
"available_ip_address_count": 4091,
|
||
|
"cidr_block": "10.0.0.0/20",
|
||
|
"customer_owned_ipv4_pool": "",
|
||
|
"default_for_az": false,
|
||
|
"enable_dns64": false,
|
||
|
"enable_lni_at_device_index": 0,
|
||
|
"enable_resource_name_dns_a_record_on_launch": false,
|
||
|
"enable_resource_name_dns_aaaa_record_on_launch": false,
|
||
|
"filter": null,
|
||
|
"id": "subnet-0d743b4c62e3de6de",
|
||
|
"ipv6_cidr_block": "",
|
||
|
"ipv6_cidr_block_association_id": "",
|
||
|
"ipv6_native": false,
|
||
|
"map_customer_owned_ip_on_launch": false,
|
||
|
"map_public_ip_on_launch": false,
|
||
|
"outpost_arn": "",
|
||
|
"owner_id": "355614969320",
|
||
|
"private_dns_hostname_type_on_launch": "ip-name",
|
||
|
"state": "available",
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"timeouts": null,
|
||
|
"vpc_id": "vpc-036c1349ddd4a46ce"
|
||
|
},
|
||
|
"sensitive_attributes": []
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_service",
|
||
|
"mode": "managed",
|
||
|
"type": "aws_ecs_service",
|
||
|
"name": "this",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"alarms": [],
|
||
|
"capacity_provider_strategy": [],
|
||
|
"cluster": "arn:aws:ecs:eu-west-1:355614969320:cluster/chat-app-demo",
|
||
|
"deployment_circuit_breaker": [
|
||
|
{
|
||
|
"enable": false,
|
||
|
"rollback": false
|
||
|
}
|
||
|
],
|
||
|
"deployment_controller": [
|
||
|
{
|
||
|
"type": "ECS"
|
||
|
}
|
||
|
],
|
||
|
"deployment_maximum_percent": 200,
|
||
|
"deployment_minimum_healthy_percent": 66,
|
||
|
"desired_count": 1,
|
||
|
"enable_ecs_managed_tags": true,
|
||
|
"enable_execute_command": true,
|
||
|
"force_new_deployment": true,
|
||
|
"health_check_grace_period_seconds": 0,
|
||
|
"iam_role": "/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS",
|
||
|
"id": "arn:aws:ecs:eu-west-1:355614969320:service/chat-app-demo/chat-app-demo",
|
||
|
"launch_type": "FARGATE",
|
||
|
"load_balancer": [
|
||
|
{
|
||
|
"container_name": "chat-app",
|
||
|
"container_port": 3000,
|
||
|
"elb_name": "",
|
||
|
"target_group_arn": "arn:aws:elasticloadbalancing:eu-west-1:355614969320:targetgroup/tf-20240415175838841400000009/035dee14007ac0e1"
|
||
|
}
|
||
|
],
|
||
|
"name": "chat-app-demo",
|
||
|
"network_configuration": [
|
||
|
{
|
||
|
"assign_public_ip": false,
|
||
|
"security_groups": [
|
||
|
"sg-05ad2646d8cc5f4a3"
|
||
|
],
|
||
|
"subnets": [
|
||
|
"subnet-03484242e7e025e98",
|
||
|
"subnet-08a36304b08dcd4df",
|
||
|
"subnet-0d743b4c62e3de6de"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"ordered_placement_strategy": [],
|
||
|
"placement_constraints": [],
|
||
|
"platform_version": "LATEST",
|
||
|
"propagate_tags": "NONE",
|
||
|
"scheduling_strategy": "REPLICA",
|
||
|
"service_connect_configuration": [
|
||
|
{
|
||
|
"enabled": true,
|
||
|
"log_configuration": [],
|
||
|
"namespace": "arn:aws:servicediscovery:eu-west-1:355614969320:namespace/ns-7exezy2cesetek5e",
|
||
|
"service": [
|
||
|
{
|
||
|
"client_alias": [
|
||
|
{
|
||
|
"dns_name": "chat-app",
|
||
|
"port": 3000
|
||
|
}
|
||
|
],
|
||
|
"discovery_name": "chat-app",
|
||
|
"ingress_port_override": 0,
|
||
|
"port_name": "chat-app",
|
||
|
"timeout": [],
|
||
|
"tls": []
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"service_registries": [],
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs",
|
||
|
"ServiceTag": "Tag on service level"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs",
|
||
|
"ServiceTag": "Tag on service level"
|
||
|
},
|
||
|
"task_definition": "chat-app-demo:11",
|
||
|
"timeouts": {
|
||
|
"create": null,
|
||
|
"delete": null,
|
||
|
"update": null
|
||
|
},
|
||
|
"triggers": {},
|
||
|
"wait_for_steady_state": false
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19",
|
||
|
"dependencies": [
|
||
|
"aws_service_discovery_http_namespace.this",
|
||
|
"data.aws_availability_zones.available",
|
||
|
"module.alb.aws_lb_target_group.this",
|
||
|
"module.ecs_cluster.aws_cloudwatch_log_group.this",
|
||
|
"module.ecs_cluster.aws_ecs_cluster.this",
|
||
|
"module.ecs_service.aws_ecs_task_definition.this",
|
||
|
"module.ecs_service.aws_iam_policy.service",
|
||
|
"module.ecs_service.aws_iam_role.service",
|
||
|
"module.ecs_service.aws_iam_role.task_exec",
|
||
|
"module.ecs_service.aws_iam_role.tasks",
|
||
|
"module.ecs_service.aws_iam_role_policy_attachment.service",
|
||
|
"module.ecs_service.aws_security_group.this",
|
||
|
"module.ecs_service.data.aws_caller_identity.current",
|
||
|
"module.ecs_service.data.aws_ecs_task_definition.this",
|
||
|
"module.ecs_service.data.aws_iam_policy_document.service",
|
||
|
"module.ecs_service.data.aws_iam_policy_document.service_assume",
|
||
|
"module.ecs_service.data.aws_iam_policy_document.task_exec_assume",
|
||
|
"module.ecs_service.data.aws_iam_policy_document.tasks_assume",
|
||
|
"module.ecs_service.data.aws_partition.current",
|
||
|
"module.ecs_service.data.aws_region.current",
|
||
|
"module.ecs_service.data.aws_subnet.this",
|
||
|
"module.ecs_service.module.container_definition.aws_cloudwatch_log_group.this",
|
||
|
"module.ecs_service.module.container_definition.data.aws_region.current",
|
||
|
"module.vpc.aws_subnet.private",
|
||
|
"module.vpc.aws_vpc.this",
|
||
|
"module.vpc.aws_vpc_ipv4_cidr_block_association.this"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_service",
|
||
|
"mode": "managed",
|
||
|
"type": "aws_ecs_task_definition",
|
||
|
"name": "this",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 1,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ecs:eu-west-1:355614969320:task-definition/chat-app-demo:11",
|
||
|
"arn_without_revision": "arn:aws:ecs:eu-west-1:355614969320:task-definition/chat-app-demo",
|
||
|
"container_definitions": "[{\"cpu\":512,\"environment\":[{\"name\":\"REDIS_ENDPOINT\",\"value\":\"valkey\"}],\"essential\":true,\"image\":\"richarvey/chat-app:latest\",\"interactive\":false,\"linuxParameters\":{\"initProcessEnabled\":true},\"logConfiguration\":{\"logDriver\":\"awslogs\",\"options\":{\"awslogs-group\":\"/aws/ecs/chat-app-demo/chat-app\",\"awslogs-region\":\"eu-west-1\",\"awslogs-stream-prefix\":\"ecs\"}},\"memory\":1024,\"memoryReservation\":100,\"mountPoints\":[],\"name\":\"chat-app\",\"portMappings\":[{\"containerPort\":3000,\"hostPort\":3000,\"name\":\"chat-app\",\"protocol\":\"tcp\"}],\"privileged\":false,\"pseudoTerminal\":false,\"readonlyRootFilesystem\":true,\"startTimeout\":30,\"stopTimeout\":120,\"systemControls\":[],\"user\":\"0\",\"volumesFrom\":[]}]",
|
||
|
"cpu": "1024",
|
||
|
"ephemeral_storage": [],
|
||
|
"execution_role_arn": "arn:aws:iam::355614969320:role/chat-app-demo-20240415175826752300000004",
|
||
|
"family": "chat-app-demo",
|
||
|
"id": "chat-app-demo",
|
||
|
"inference_accelerator": [],
|
||
|
"ipc_mode": "",
|
||
|
"memory": "4096",
|
||
|
"network_mode": "awsvpc",
|
||
|
"pid_mode": "",
|
||
|
"placement_constraints": [],
|
||
|
"proxy_configuration": [],
|
||
|
"requires_compatibilities": [
|
||
|
"FARGATE"
|
||
|
],
|
||
|
"revision": 11,
|
||
|
"runtime_platform": [
|
||
|
{
|
||
|
"cpu_architecture": "X86_64",
|
||
|
"operating_system_family": "LINUX"
|
||
|
}
|
||
|
],
|
||
|
"skip_destroy": false,
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"task_role_arn": "arn:aws:iam::355614969320:role/chat-app-demo-20240415175826751700000003",
|
||
|
"track_latest": false,
|
||
|
"volume": []
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==",
|
||
|
"dependencies": [
|
||
|
"module.ecs_service.aws_iam_role.task_exec",
|
||
|
"module.ecs_service.aws_iam_role.tasks",
|
||
|
"module.ecs_service.data.aws_caller_identity.current",
|
||
|
"module.ecs_service.data.aws_iam_policy_document.task_exec_assume",
|
||
|
"module.ecs_service.data.aws_iam_policy_document.tasks_assume",
|
||
|
"module.ecs_service.data.aws_partition.current",
|
||
|
"module.ecs_service.data.aws_region.current",
|
||
|
"module.ecs_service.module.container_definition.aws_cloudwatch_log_group.this",
|
||
|
"module.ecs_service.module.container_definition.data.aws_region.current"
|
||
|
],
|
||
|
"create_before_destroy": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_service",
|
||
|
"mode": "managed",
|
||
|
"type": "aws_iam_role",
|
||
|
"name": "task_exec",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:iam::355614969320:role/chat-app-demo-20240415175826752300000004",
|
||
|
"assume_role_policy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ecs-tasks.amazonaws.com\"},\"Sid\":\"ECSTaskExecutionAssumeRole\"}],\"Version\":\"2012-10-17\"}",
|
||
|
"create_date": "2024-04-15T17:58:27Z",
|
||
|
"description": "Task execution role for chat-app-demo",
|
||
|
"force_detach_policies": true,
|
||
|
"id": "chat-app-demo-20240415175826752300000004",
|
||
|
"inline_policy": [],
|
||
|
"managed_policy_arns": [
|
||
|
"arn:aws:iam::355614969320:policy/chat-app-demo-20240415175826751600000002"
|
||
|
],
|
||
|
"max_session_duration": 3600,
|
||
|
"name": "chat-app-demo-20240415175826752300000004",
|
||
|
"name_prefix": "chat-app-demo-",
|
||
|
"path": "/",
|
||
|
"permissions_boundary": "",
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"unique_id": "AROAVFTCNZXUE6COZ2VQP"
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "bnVsbA==",
|
||
|
"dependencies": [
|
||
|
"module.ecs_service.data.aws_iam_policy_document.task_exec_assume"
|
||
|
],
|
||
|
"create_before_destroy": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_service",
|
||
|
"mode": "managed",
|
||
|
"type": "aws_iam_role",
|
||
|
"name": "tasks",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:iam::355614969320:role/chat-app-demo-20240415175826751700000003",
|
||
|
"assume_role_policy": "{\"Statement\":[{\"Action\":\"sts:AssumeRole\",\"Condition\":{\"ArnLike\":{\"aws:SourceArn\":\"arn:aws:ecs:eu-west-1:355614969320:*\"},\"StringEquals\":{\"aws:SourceAccount\":\"355614969320\"}},\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"ecs-tasks.amazonaws.com\"},\"Sid\":\"ECSTasksAssumeRole\"}],\"Version\":\"2012-10-17\"}",
|
||
|
"create_date": "2024-04-15T17:58:27Z",
|
||
|
"description": "",
|
||
|
"force_detach_policies": true,
|
||
|
"id": "chat-app-demo-20240415175826751700000003",
|
||
|
"inline_policy": [
|
||
|
{
|
||
|
"name": "chat-app-demo-20240415175827755900000005",
|
||
|
"policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Action\":[\"ssmmessages:OpenDataChannel\",\"ssmmessages:OpenControlChannel\",\"ssmmessages:CreateDataChannel\",\"ssmmessages:CreateControlChannel\"],\"Effect\":\"Allow\",\"Resource\":\"*\",\"Sid\":\"ECSExec\"}]}"
|
||
|
}
|
||
|
],
|
||
|
"managed_policy_arns": [],
|
||
|
"max_session_duration": 3600,
|
||
|
"name": "chat-app-demo-20240415175826751700000003",
|
||
|
"name_prefix": "chat-app-demo-",
|
||
|
"path": "/",
|
||
|
"permissions_boundary": "",
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"unique_id": "AROAVFTCNZXUKB5TCDIJT"
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "bnVsbA==",
|
||
|
"dependencies": [
|
||
|
"module.ecs_service.data.aws_caller_identity.current",
|
||
|
"module.ecs_service.data.aws_iam_policy_document.tasks_assume",
|
||
|
"module.ecs_service.data.aws_partition.current",
|
||
|
"module.ecs_service.data.aws_region.current"
|
||
|
],
|
||
|
"create_before_destroy": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_service",
|
||
|
"mode": "managed",
|
||
|
"type": "aws_security_group",
|
||
|
"name": "this",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 1,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ec2:eu-west-1:355614969320:security-group/sg-05ad2646d8cc5f4a3",
|
||
|
"description": "Managed by Terraform",
|
||
|
"egress": [
|
||
|
{
|
||
|
"cidr_blocks": [
|
||
|
"0.0.0.0/0"
|
||
|
],
|
||
|
"description": "",
|
||
|
"from_port": 0,
|
||
|
"ipv6_cidr_blocks": [],
|
||
|
"prefix_list_ids": [],
|
||
|
"protocol": "-1",
|
||
|
"security_groups": [],
|
||
|
"self": false,
|
||
|
"to_port": 0
|
||
|
}
|
||
|
],
|
||
|
"id": "sg-05ad2646d8cc5f4a3",
|
||
|
"ingress": [
|
||
|
{
|
||
|
"cidr_blocks": [],
|
||
|
"description": "Service port",
|
||
|
"from_port": 3000,
|
||
|
"ipv6_cidr_blocks": [],
|
||
|
"prefix_list_ids": [],
|
||
|
"protocol": "tcp",
|
||
|
"security_groups": [
|
||
|
"sg-062ee908d87078647"
|
||
|
],
|
||
|
"self": false,
|
||
|
"to_port": 3000
|
||
|
}
|
||
|
],
|
||
|
"name": "chat-app-demo-2024041517583976900000000b",
|
||
|
"name_prefix": "chat-app-demo-",
|
||
|
"owner_id": "355614969320",
|
||
|
"revoke_rules_on_delete": false,
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"timeouts": null,
|
||
|
"vpc_id": "vpc-036c1349ddd4a46ce"
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6OTAwMDAwMDAwMDAwfSwic2NoZW1hX3ZlcnNpb24iOiIxIn0=",
|
||
|
"dependencies": [
|
||
|
"data.aws_availability_zones.available",
|
||
|
"module.ecs_service.data.aws_subnet.this",
|
||
|
"module.vpc.aws_subnet.private",
|
||
|
"module.vpc.aws_vpc.this",
|
||
|
"module.vpc.aws_vpc_ipv4_cidr_block_association.this"
|
||
|
],
|
||
|
"create_before_destroy": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_service.module.container_definition[\"chat-app\"]",
|
||
|
"mode": "data",
|
||
|
"type": "aws_region",
|
||
|
"name": "current",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"description": "Europe (Ireland)",
|
||
|
"endpoint": "ec2.eu-west-1.amazonaws.com",
|
||
|
"id": "eu-west-1",
|
||
|
"name": "eu-west-1"
|
||
|
},
|
||
|
"sensitive_attributes": []
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.ecs_service.module.container_definition[\"chat-app\"]",
|
||
|
"mode": "managed",
|
||
|
"type": "aws_cloudwatch_log_group",
|
||
|
"name": "this",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:logs:eu-west-1:355614969320:log-group:/aws/ecs/chat-app-demo/chat-app",
|
||
|
"id": "/aws/ecs/chat-app-demo/chat-app",
|
||
|
"kms_key_id": "",
|
||
|
"log_group_class": "STANDARD",
|
||
|
"name": "/aws/ecs/chat-app-demo/chat-app",
|
||
|
"name_prefix": "",
|
||
|
"retention_in_days": 14,
|
||
|
"skip_destroy": false,
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
}
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "bnVsbA==",
|
||
|
"create_before_destroy": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.vpc",
|
||
|
"mode": "managed",
|
||
|
"type": "aws_internet_gateway",
|
||
|
"name": "this",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 0,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ec2:eu-west-1:355614969320:internet-gateway/igw-0c25b6348ee8d15d3",
|
||
|
"id": "igw-0c25b6348ee8d15d3",
|
||
|
"owner_id": "355614969320",
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"timeouts": null,
|
||
|
"vpc_id": "vpc-036c1349ddd4a46ce"
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19",
|
||
|
"dependencies": [
|
||
|
"data.aws_availability_zones.available",
|
||
|
"module.vpc.aws_vpc.this",
|
||
|
"module.vpc.aws_vpc_ipv4_cidr_block_association.this"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.vpc",
|
||
|
"mode": "managed",
|
||
|
"type": "aws_subnet",
|
||
|
"name": "private",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 1,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ec2:eu-west-1:355614969320:subnet/subnet-0d743b4c62e3de6de",
|
||
|
"assign_ipv6_address_on_creation": false,
|
||
|
"availability_zone": "eu-west-1a",
|
||
|
"availability_zone_id": "euw1-az1",
|
||
|
"cidr_block": "10.0.0.0/20",
|
||
|
"customer_owned_ipv4_pool": "",
|
||
|
"enable_dns64": false,
|
||
|
"enable_lni_at_device_index": 0,
|
||
|
"enable_resource_name_dns_a_record_on_launch": false,
|
||
|
"enable_resource_name_dns_aaaa_record_on_launch": false,
|
||
|
"id": "subnet-0d743b4c62e3de6de",
|
||
|
"ipv6_cidr_block": "",
|
||
|
"ipv6_cidr_block_association_id": "",
|
||
|
"ipv6_native": false,
|
||
|
"map_customer_owned_ip_on_launch": false,
|
||
|
"map_public_ip_on_launch": false,
|
||
|
"outpost_arn": "",
|
||
|
"owner_id": "355614969320",
|
||
|
"private_dns_hostname_type_on_launch": "ip-name",
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"timeouts": null,
|
||
|
"vpc_id": "vpc-036c1349ddd4a46ce"
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9",
|
||
|
"dependencies": [
|
||
|
"data.aws_availability_zones.available",
|
||
|
"module.vpc.aws_vpc.this",
|
||
|
"module.vpc.aws_vpc_ipv4_cidr_block_association.this"
|
||
|
],
|
||
|
"create_before_destroy": true
|
||
|
},
|
||
|
{
|
||
|
"index_key": 1,
|
||
|
"schema_version": 1,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ec2:eu-west-1:355614969320:subnet/subnet-08a36304b08dcd4df",
|
||
|
"assign_ipv6_address_on_creation": false,
|
||
|
"availability_zone": "eu-west-1b",
|
||
|
"availability_zone_id": "euw1-az2",
|
||
|
"cidr_block": "10.0.16.0/20",
|
||
|
"customer_owned_ipv4_pool": "",
|
||
|
"enable_dns64": false,
|
||
|
"enable_lni_at_device_index": 0,
|
||
|
"enable_resource_name_dns_a_record_on_launch": false,
|
||
|
"enable_resource_name_dns_aaaa_record_on_launch": false,
|
||
|
"id": "subnet-08a36304b08dcd4df",
|
||
|
"ipv6_cidr_block": "",
|
||
|
"ipv6_cidr_block_association_id": "",
|
||
|
"ipv6_native": false,
|
||
|
"map_customer_owned_ip_on_launch": false,
|
||
|
"map_public_ip_on_launch": false,
|
||
|
"outpost_arn": "",
|
||
|
"owner_id": "355614969320",
|
||
|
"private_dns_hostname_type_on_launch": "ip-name",
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"timeouts": null,
|
||
|
"vpc_id": "vpc-036c1349ddd4a46ce"
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9",
|
||
|
"dependencies": [
|
||
|
"data.aws_availability_zones.available",
|
||
|
"module.vpc.aws_vpc.this",
|
||
|
"module.vpc.aws_vpc_ipv4_cidr_block_association.this"
|
||
|
],
|
||
|
"create_before_destroy": true
|
||
|
},
|
||
|
{
|
||
|
"index_key": 2,
|
||
|
"schema_version": 1,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ec2:eu-west-1:355614969320:subnet/subnet-03484242e7e025e98",
|
||
|
"assign_ipv6_address_on_creation": false,
|
||
|
"availability_zone": "eu-west-1c",
|
||
|
"availability_zone_id": "euw1-az3",
|
||
|
"cidr_block": "10.0.32.0/20",
|
||
|
"customer_owned_ipv4_pool": "",
|
||
|
"enable_dns64": false,
|
||
|
"enable_lni_at_device_index": 0,
|
||
|
"enable_resource_name_dns_a_record_on_launch": false,
|
||
|
"enable_resource_name_dns_aaaa_record_on_launch": false,
|
||
|
"id": "subnet-03484242e7e025e98",
|
||
|
"ipv6_cidr_block": "",
|
||
|
"ipv6_cidr_block_association_id": "",
|
||
|
"ipv6_native": false,
|
||
|
"map_customer_owned_ip_on_launch": false,
|
||
|
"map_public_ip_on_launch": false,
|
||
|
"outpost_arn": "",
|
||
|
"owner_id": "355614969320",
|
||
|
"private_dns_hostname_type_on_launch": "ip-name",
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"timeouts": null,
|
||
|
"vpc_id": "vpc-036c1349ddd4a46ce"
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9",
|
||
|
"dependencies": [
|
||
|
"data.aws_availability_zones.available",
|
||
|
"module.vpc.aws_vpc.this",
|
||
|
"module.vpc.aws_vpc_ipv4_cidr_block_association.this"
|
||
|
],
|
||
|
"create_before_destroy": true
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.vpc",
|
||
|
"mode": "managed",
|
||
|
"type": "aws_subnet",
|
||
|
"name": "public",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 1,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ec2:eu-west-1:355614969320:subnet/subnet-08c4d0f2a7397c568",
|
||
|
"assign_ipv6_address_on_creation": false,
|
||
|
"availability_zone": "eu-west-1a",
|
||
|
"availability_zone_id": "euw1-az1",
|
||
|
"cidr_block": "10.0.48.0/24",
|
||
|
"customer_owned_ipv4_pool": "",
|
||
|
"enable_dns64": false,
|
||
|
"enable_lni_at_device_index": 0,
|
||
|
"enable_resource_name_dns_a_record_on_launch": false,
|
||
|
"enable_resource_name_dns_aaaa_record_on_launch": false,
|
||
|
"id": "subnet-08c4d0f2a7397c568",
|
||
|
"ipv6_cidr_block": "",
|
||
|
"ipv6_cidr_block_association_id": "",
|
||
|
"ipv6_native": false,
|
||
|
"map_customer_owned_ip_on_launch": false,
|
||
|
"map_public_ip_on_launch": false,
|
||
|
"outpost_arn": "",
|
||
|
"owner_id": "355614969320",
|
||
|
"private_dns_hostname_type_on_launch": "ip-name",
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"timeouts": null,
|
||
|
"vpc_id": "vpc-036c1349ddd4a46ce"
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9",
|
||
|
"dependencies": [
|
||
|
"data.aws_availability_zones.available",
|
||
|
"module.vpc.aws_vpc.this",
|
||
|
"module.vpc.aws_vpc_ipv4_cidr_block_association.this"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"index_key": 1,
|
||
|
"schema_version": 1,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ec2:eu-west-1:355614969320:subnet/subnet-020b69a138405c937",
|
||
|
"assign_ipv6_address_on_creation": false,
|
||
|
"availability_zone": "eu-west-1b",
|
||
|
"availability_zone_id": "euw1-az2",
|
||
|
"cidr_block": "10.0.49.0/24",
|
||
|
"customer_owned_ipv4_pool": "",
|
||
|
"enable_dns64": false,
|
||
|
"enable_lni_at_device_index": 0,
|
||
|
"enable_resource_name_dns_a_record_on_launch": false,
|
||
|
"enable_resource_name_dns_aaaa_record_on_launch": false,
|
||
|
"id": "subnet-020b69a138405c937",
|
||
|
"ipv6_cidr_block": "",
|
||
|
"ipv6_cidr_block_association_id": "",
|
||
|
"ipv6_native": false,
|
||
|
"map_customer_owned_ip_on_launch": false,
|
||
|
"map_public_ip_on_launch": false,
|
||
|
"outpost_arn": "",
|
||
|
"owner_id": "355614969320",
|
||
|
"private_dns_hostname_type_on_launch": "ip-name",
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"timeouts": null,
|
||
|
"vpc_id": "vpc-036c1349ddd4a46ce"
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9",
|
||
|
"dependencies": [
|
||
|
"data.aws_availability_zones.available",
|
||
|
"module.vpc.aws_vpc.this",
|
||
|
"module.vpc.aws_vpc_ipv4_cidr_block_association.this"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"index_key": 2,
|
||
|
"schema_version": 1,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ec2:eu-west-1:355614969320:subnet/subnet-0b0690ac033109c33",
|
||
|
"assign_ipv6_address_on_creation": false,
|
||
|
"availability_zone": "eu-west-1c",
|
||
|
"availability_zone_id": "euw1-az3",
|
||
|
"cidr_block": "10.0.50.0/24",
|
||
|
"customer_owned_ipv4_pool": "",
|
||
|
"enable_dns64": false,
|
||
|
"enable_lni_at_device_index": 0,
|
||
|
"enable_resource_name_dns_a_record_on_launch": false,
|
||
|
"enable_resource_name_dns_aaaa_record_on_launch": false,
|
||
|
"id": "subnet-0b0690ac033109c33",
|
||
|
"ipv6_cidr_block": "",
|
||
|
"ipv6_cidr_block_association_id": "",
|
||
|
"ipv6_native": false,
|
||
|
"map_customer_owned_ip_on_launch": false,
|
||
|
"map_public_ip_on_launch": false,
|
||
|
"outpost_arn": "",
|
||
|
"owner_id": "355614969320",
|
||
|
"private_dns_hostname_type_on_launch": "ip-name",
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"timeouts": null,
|
||
|
"vpc_id": "vpc-036c1349ddd4a46ce"
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjo2MDAwMDAwMDAwMDAsImRlbGV0ZSI6MTIwMDAwMDAwMDAwMH0sInNjaGVtYV92ZXJzaW9uIjoiMSJ9",
|
||
|
"dependencies": [
|
||
|
"data.aws_availability_zones.available",
|
||
|
"module.vpc.aws_vpc.this",
|
||
|
"module.vpc.aws_vpc_ipv4_cidr_block_association.this"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"module": "module.vpc",
|
||
|
"mode": "managed",
|
||
|
"type": "aws_vpc",
|
||
|
"name": "this",
|
||
|
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||
|
"instances": [
|
||
|
{
|
||
|
"index_key": 0,
|
||
|
"schema_version": 1,
|
||
|
"attributes": {
|
||
|
"arn": "arn:aws:ec2:eu-west-1:355614969320:vpc/vpc-036c1349ddd4a46ce",
|
||
|
"assign_generated_ipv6_cidr_block": false,
|
||
|
"cidr_block": "10.0.0.0/16",
|
||
|
"default_network_acl_id": "acl-031a5e6f57caa75df",
|
||
|
"default_route_table_id": "rtb-0c6af805470c20114",
|
||
|
"default_security_group_id": "sg-015ea6038f4f7ff71",
|
||
|
"dhcp_options_id": "dopt-a93124cb",
|
||
|
"enable_dns_hostnames": true,
|
||
|
"enable_dns_support": true,
|
||
|
"enable_network_address_usage_metrics": false,
|
||
|
"id": "vpc-036c1349ddd4a46ce",
|
||
|
"instance_tenancy": "default",
|
||
|
"ipv4_ipam_pool_id": null,
|
||
|
"ipv4_netmask_length": null,
|
||
|
"ipv6_association_id": "",
|
||
|
"ipv6_cidr_block": "",
|
||
|
"ipv6_cidr_block_network_border_group": "",
|
||
|
"ipv6_ipam_pool_id": "",
|
||
|
"ipv6_netmask_length": 0,
|
||
|
"main_route_table_id": "rtb-0c6af805470c20114",
|
||
|
"owner_id": "355614969320",
|
||
|
"tags": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
},
|
||
|
"tags_all": {
|
||
|
"Example": "chat-app-demo",
|
||
|
"Name": "chat-app-demo",
|
||
|
"Repository": "https://github.com/terraform-aws-modules/terraform-aws-ecs"
|
||
|
}
|
||
|
},
|
||
|
"sensitive_attributes": [],
|
||
|
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjEifQ==",
|
||
|
"create_before_destroy": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"check_results": null
|
||
|
}
|