【文件属性】:
文件名称:terraform-aws-ecs-service:用于将服务部署到AWS中现有ECS集群的Terraform模块
文件大小:194KB
文件格式:ZIP
更新时间:2021-05-21 17:50:43
infrastructure terraform ecs terraform-modules ecs-cluster
Terraform AWS ECS服务
用于在AWS中部署ECS服务的Terraform模块。
ECS服务要求:
包含ECS集群的现有VPC
服务角色ARN,允许ECS管理负载均衡器
服务的ELB
CloudWatch日志组
ECS服务包括:
组成服务的容器的ECS任务定义
ECS服务可维护许多任务实例
通过提供的CloudWatch日志组收集日志
用法
要使用该模块,请在terraform配置中包括以下内容:
module "ecs_service" {
source = "infrablocks/ecs-service/aws"
version = "2.0.0"
vpc_id = "vpc-fb7dc365"
component = "important-component"
deployment_identifier = "production"
【文件预览】:
terraform-aws-ecs-service-master
----config()
--------hiera.yaml(164B)
--------roles()
--------defaults.yaml(2KB)
--------secrets()
----docs()
--------architecture.graffle()
--------architecture.png(51KB)
----task_definition.tf(954B)
----security_groups.tf(1KB)
----versions.tf(47B)
----outputs.tf(626B)
----Rakefile(4KB)
----container-definitions()
--------service.json.tpl(404B)
----TODO.md(120B)
----Gemfile(321B)
----Gemfile.lock(32KB)
----cloudwatch.tf(363B)
----service_discovery.tf(357B)
----service.tf(2KB)
----go(1KB)
----.git-crypt()
--------keys()
--------.gitattributes(165B)
----.rspec(31B)
----spec()
--------support()
--------infra()
--------cloudwatch_spec.rb(2KB)
--------service_spec.rb(15KB)
--------spec_helper.rb(988B)
--------fixtures()
----.ruby-version(5B)
----.gitignore(298B)
----lib()
--------paths.rb(447B)
--------configuration.rb(1KB)
--------version.rb(818B)
--------public_address.rb(174B)
----.circleci()
--------gpg.private.enc(3KB)
--------config.yml(1KB)
----CODE_OF_CONDUCT.md(3KB)
----state()
--------permanent.tfstate(3KB)
--------permanent.tfstate.backup(1KB)
----.envrc(112B)
----README.md(11KB)
----scripts()
--------ci()
----main.tf(0B)
----.gitattributes(50B)
----LICENSE.txt(1KB)
----variables.tf(7KB)