Move to demo folder
This commit is contained in:
parent
64c4ec9ef3
commit
f2a8db492e
29 changed files with 1623 additions and 3788 deletions
File diff suppressed because it is too large
Load diff
1
demo/iac/.terraform.tfstate.lock.info
Normal file
1
demo/iac/.terraform.tfstate.lock.info
Normal file
|
@ -0,0 +1 @@
|
|||
{"ID":"1156b298-a473-5fa6-a198-84eabc580877","Operation":"OperationTypeApply","Info":"","Who":"ric@batfink","Version":"1.6.2","Created":"2024-04-15T20:40:09.835286786Z","Path":"terraform.tfstate"}
|
|
@ -34,7 +34,7 @@ module "ecs_service" {
|
|||
|
||||
name = local.name
|
||||
cluster_arn = module.ecs_cluster.arn
|
||||
desired_count = 3
|
||||
desired_count = 1
|
||||
cpu = 1024
|
||||
memory = 4096
|
||||
|
1573
demo/iac/terraform.tfstate
Normal file
1573
demo/iac/terraform.tfstate
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"version": 4,
|
||||
"terraform_version": "1.6.2",
|
||||
"serial": 238,
|
||||
"serial": 241,
|
||||
"lineage": "eee76b09-c66c-0cf5-be4a-cdd9e6b807e9",
|
||||
"outputs": {
|
||||
"cluster_arn": {
|
||||
|
@ -766,6 +766,53 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_route53_record",
|
||||
"name": "chat",
|
||||
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||||
"instances": [
|
||||
{
|
||||
"schema_version": 2,
|
||||
"attributes": {
|
||||
"alias": [
|
||||
{
|
||||
"evaluate_target_health": true,
|
||||
"name": "chat-app-demo-2046813119.eu-west-1.elb.amazonaws.com",
|
||||
"zone_id": "Z32O12XQLNTSW2"
|
||||
}
|
||||
],
|
||||
"allow_overwrite": null,
|
||||
"cidr_routing_policy": [],
|
||||
"failover_routing_policy": [],
|
||||
"fqdn": "chat.ngd.io",
|
||||
"geolocation_routing_policy": [],
|
||||
"geoproximity_routing_policy": [],
|
||||
"health_check_id": "",
|
||||
"id": "Z2TWGHEC8YQMWW_chat.ngd.io_A",
|
||||
"latency_routing_policy": [],
|
||||
"multivalue_answer_routing_policy": false,
|
||||
"name": "chat.ngd.io",
|
||||
"records": [],
|
||||
"set_identifier": "",
|
||||
"ttl": 0,
|
||||
"type": "A",
|
||||
"weighted_routing_policy": [],
|
||||
"zone_id": "Z2TWGHEC8YQMWW"
|
||||
},
|
||||
"sensitive_attributes": [],
|
||||
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
|
||||
"dependencies": [
|
||||
"data.aws_availability_zones.available",
|
||||
"module.alb.aws_lb.this",
|
||||
"module.alb.aws_security_group.this",
|
||||
"module.vpc.aws_subnet.public",
|
||||
"module.vpc.aws_vpc.this",
|
||||
"module.vpc.aws_vpc_ipv4_cidr_block_association.this"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"mode": "managed",
|
||||
"type": "aws_security_group",
|
||||
|
@ -1387,14 +1434,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_cluster",
|
||||
"mode": "managed",
|
||||
"type": "aws_ecs_capacity_provider",
|
||||
"name": "this",
|
||||
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||||
"instances": []
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_cluster",
|
||||
"mode": "managed",
|
||||
|
@ -1531,22 +1570,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "data",
|
||||
"type": "aws_iam_policy_document",
|
||||
"name": "service",
|
||||
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||||
"instances": []
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "data",
|
||||
"type": "aws_iam_policy_document",
|
||||
"name": "service_assume",
|
||||
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||||
"instances": []
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "data",
|
||||
|
@ -2013,14 +2036,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "managed",
|
||||
"type": "aws_appautoscaling_scheduled_action",
|
||||
"name": "this",
|
||||
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||||
"instances": []
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "managed",
|
||||
|
@ -2086,14 +2101,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "managed",
|
||||
"type": "aws_ecs_service",
|
||||
"name": "ignore_task_definition",
|
||||
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||||
"instances": []
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "managed",
|
||||
|
@ -2301,30 +2308,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "managed",
|
||||
"type": "aws_ecs_task_set",
|
||||
"name": "ignore_task_definition",
|
||||
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||||
"instances": []
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "managed",
|
||||
"type": "aws_ecs_task_set",
|
||||
"name": "this",
|
||||
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||||
"instances": []
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "managed",
|
||||
"type": "aws_iam_policy",
|
||||
"name": "service",
|
||||
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||||
"instances": []
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "managed",
|
||||
|
@ -2363,14 +2346,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "managed",
|
||||
"type": "aws_iam_role",
|
||||
"name": "service",
|
||||
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||||
"instances": []
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "managed",
|
||||
|
@ -2501,14 +2476,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "managed",
|
||||
"type": "aws_iam_role_policy_attachment",
|
||||
"name": "service",
|
||||
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||||
"instances": []
|
||||
},
|
||||
{
|
||||
"module": "module.ecs_service",
|
||||
"mode": "managed",
|
||||
|
@ -3725,14 +3692,6 @@
|
|||
"create_before_destroy": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"module": "module.vpc",
|
||||
"mode": "managed",
|
||||
"type": "aws_vpc_ipv4_cidr_block_association",
|
||||
"name": "this",
|
||||
"provider": "provider[\"registry.opentofu.org/hashicorp/aws\"]",
|
||||
"instances": []
|
||||
}
|
||||
],
|
||||
"check_results": null
|
Loading…
Reference in a new issue