You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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).
36
41
37
42
```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
+
}
41
61
}
42
62
```
43
63
64
+
## Examples
65
+
66
+
See `examples` directory for working examples to reference
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).
0 commit comments