Skip to content

Commit c3f8e90

Browse files
initial module setup
1 parent 83b3e75 commit c3f8e90

File tree

2 files changed

+57
-31
lines changed

2 files changed

+57
-31
lines changed

.github/settings.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ _extends: .github
33

44
repository:
55
# See https://developer.github.com/v3/repos/#edit for all available settings.
6-
name: terraform-module-blueprint
7-
description: "ℹ️ Terraform module blueprint."
6+
name: terraform-aws-ecs
7+
description: "ℹ️ Terraform module which creates AWS ECS resources."
88
homepage: https://ivankatliarchuk.github.io
9-
topics: ivank, terraform, terraform-module
9+
topics: ivank, terraform, terraform-module, ecs
1010
private: false
1111
has_issues: true
1212
has_projects: false

README.md

Lines changed: 54 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,33 @@
1-
# Module Blueprint
1+
# WS Elastic Container Service (ECS) Terraform module
22

3-
Terraform module blueprint
3+
Terraform module which creates ECS resources on AWS.
4+
5+
This module focuses purely on ECS and nothing else. Therefore only these resources can be created with this module:
6+
7+
- [ECS](https://www.terraform.io/docs/providers/aws/r/ecs_cluster.html)
8+
- [IAM](https://www.terraform.io/docs/providers/aws/r/iam_instance_profile.html)
9+
10+
However, having said the above to have a proper ECS cluster up and running multiple resources are needed. In most cases creating these resources is heavily opinionated and or context-bound. That is why this module does not create these resources. But you still need them to have a production ready environment. Therefore the example area shows how to create everything needed for a production environment.
411

512
---
613

7-
![](https://github.com/terraform-module/terraform-module-blueprint/workflows/release/badge.svg)
8-
![](https://github.com/terraform-module/terraform-module-blueprint/workflows/commit-check/badge.svg)
9-
![](https://github.com/terraform-module/terraform-module-blueprint/workflows/labeler/badge.svg)
10-
11-
[![](https://img.shields.io/github/license/terraform-module/terraform-module-blueprint)](https://github.com/terraform-module/terraform-module-blueprint)
12-
![](https://img.shields.io/github/v/tag/terraform-module/terraform-module-blueprint)
13-
![](https://img.shields.io/issues/github/terraform-module/terraform-module-blueprint)
14-
![](https://img.shields.io/github/issues/terraform-module/terraform-module-blueprint)
15-
![](https://img.shields.io/github/issues-closed/terraform-module/terraform-module-blueprint)
16-
[![](https://img.shields.io/github/languages/code-size/terraform-module/terraform-module-blueprint)](https://github.com/terraform-module/terraform-module-blueprint)
17-
[![](https://img.shields.io/github/repo-size/terraform-module/terraform-module-blueprint)](https://github.com/terraform-module/terraform-module-blueprint)
18-
![](https://img.shields.io/github/languages/top/terraform-module/terraform-module-blueprint?color=green&logo=terraform&logoColor=blue)
19-
![](https://img.shields.io/github/commit-activity/m/terraform-module/terraform-module-blueprint)
20-
![](https://img.shields.io/github/contributors/terraform-module/terraform-module-blueprint)
21-
![](https://img.shields.io/github/last-commit/terraform-module/terraform-module-blueprint)
22-
[![Maintenance](https://img.shields.io/badge/Maintenu%3F-oui-green.svg)](https://GitHub.com/terraform-module/terraform-module-blueprint/graphs/commit-activity)
23-
[![GitHub forks](https://img.shields.io/github/forks/terraform-module/terraform-module-blueprint.svg?style=social&label=Fork)](https://github.com/terraform-module/terraform-module-blueprint)
14+
![](https://github.com/terraform-module/terraform-aws-ecs/workflows/release/badge.svg)
15+
![](https://github.com/terraform-module/terraform-aws-ecs/workflows/commit-check/badge.svg)
16+
![](https://github.com/terraform-module/terraform-aws-ecs/workflows/labeler/badge.svg)
17+
18+
[![](https://img.shields.io/github/license/terraform-module/terraform-aws-ecs)](https://github.com/terraform-module/terraform-aws-ecs)
19+
![](https://img.shields.io/github/v/tag/terraform-module/terraform-aws-ecs)
20+
![](https://img.shields.io/issues/github/terraform-module/terraform-aws-ecs)
21+
![](https://img.shields.io/github/issues/terraform-module/terraform-aws-ecs)
22+
![](https://img.shields.io/github/issues-closed/terraform-module/terraform-aws-ecs)
23+
[![](https://img.shields.io/github/languages/code-size/terraform-module/terraform-aws-ecs)](https://github.com/terraform-module/terraform-aws-ecs)
24+
[![](https://img.shields.io/github/repo-size/terraform-module/terraform-aws-ecs)](https://github.com/terraform-module/terraform-aws-ecs)
25+
![](https://img.shields.io/github/languages/top/terraform-module/terraform-aws-ecs?color=green&logo=terraform&logoColor=blue)
26+
![](https://img.shields.io/github/commit-activity/m/terraform-module/terraform-aws-ecs)
27+
![](https://img.shields.io/github/contributors/terraform-module/terraform-aws-ecs)
28+
![](https://img.shields.io/github/last-commit/terraform-module/terraform-aws-ecs)
29+
[![Maintenance](https://img.shields.io/badge/Maintenu%3F-oui-green.svg)](https://GitHub.com/terraform-module/terraform-aws-ecs/graphs/commit-activity)
30+
[![GitHub forks](https://img.shields.io/github/forks/terraform-module/terraform-aws-ecs.svg?style=social&label=Fork)](https://github.com/terraform-module/terraform-aws-ecs)
2431

2532
---
2633

@@ -30,17 +37,36 @@ Terraform module blueprint
3037

3138
## Usage example
3239

33-
IMPORTANT: The master branch is used in source just as an example. In your code, do not pin to master because there may be breaking changes between releases. Instead pin to the release tag (e.g. ?ref=tags/x.y.z) of one of our [latest releases](https://github.com/terraform-module/terraform-module-blueprint/releases).
34-
35-
See `examples` directory for working examples to reference:
40+
IMPORTANT: The master branch is used in source just as an example. In your code, do not pin to master because there may be breaking changes between releases. Instead pin to the release tag (e.g. ?ref=tags/x.y.z) of one of our [latest releases](https://github.com/terraform-module/terraform-aws-ecs/releases).
3641

3742
```hcl
38-
module "blueprint" {
39-
source = "terraform-module/blueprint"
40-
version = "0.0.0"
43+
module "ecs" {
44+
source = "terraform-aws-modules/ecs/aws"
45+
46+
name = "my-ecs"
47+
48+
container_insights = true
49+
50+
capacity_providers = ["FARGATE", "FARGATE_SPOT"]
51+
52+
default_capacity_provider_strategy = [
53+
{
54+
capacity_provider = "FARGATE_SPOT"
55+
}
56+
]
57+
58+
tags = {
59+
Environment = "Development"
60+
}
4161
}
4262
```
4363

64+
## Examples
65+
66+
See `examples` directory for working examples to reference
67+
68+
- [Complete ECS](https://github.com/terraform-module/terraform-aws-ecs/tree/master/examples/complete-ecs)
69+
4470
## Assumptions
4571

4672
## Available features
@@ -97,13 +123,13 @@ Submit a pull request
97123

98124
# Authors
99125

100-
Currently maintained by [Ivan Katliarchuk](https://github.com/ivankatliarchuk) and these [awesome contributors](https://github.com/terraform-module/terraform-module-blueprint/graphs/contributors).
126+
Currently maintained by [Ivan Katliarchuk](https://github.com/ivankatliarchuk) and these [awesome contributors](https://github.com/terraform-module/terraform-aws-ecs/graphs/contributors).
101127

102128
[![ForTheBadge uses-git](http://ForTheBadge.com/images/badges/uses-git.svg)](https://GitHub.com/)
103129

104130
## Terraform Registry
105131

106-
- [Module](https://registry.terraform.io/modules/terraform-module/todo/aws)
132+
- [Module](https://registry.terraform.io/modules/terraform-module/ecs/aws)
107133

108134
## Resources
109135

@@ -114,4 +140,4 @@ Currently maintained by [Ivan Katliarchuk](https://github.com/ivankatliarchuk) a
114140
[**Create a repository using this template →**][template.generate]
115141

116142
<!-- resources -->
117-
[template.generate]: https://github.com/terraform-module/terraform-module-blueprint/generate
143+
[template.generate]: https://github.com/terraform-module/terraform-aws-ecs/generate

0 commit comments

Comments
 (0)