Skip to content

[Automated Update][terraform-aws-ecs] v0.38.10 release #2578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions docs/reference/modules/terraform-aws-ecs/ecs-cluster/ecs-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Amazon ECS" version="0.38.9" lastModifiedVersion="0.38.9"/>
<VersionBadge repoTitle="Amazon ECS" version="0.38.10" lastModifiedVersion="0.38.9"/>

# ECS Cluster Module

<a href="https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-cluster" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-cluster" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-ecs/releases/tag/v0.38.9" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

This Terraform Module launches an [EC2 Container Service
Cluster](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_clusters.html) that you can use to run
Docker containers and services (see the [ecs-service module](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-service/README.adoc)).
Docker containers and services (see the [ecs-service module](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-service/README.adoc)).

**WARNING: Launch Configurations:** [Launch configurations](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html) are being phased out in favor of [Launch Templates](https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html). Before upgrading to the latest release please be sure to test and plan any changes to infrastructure that may be impacted. Launch templates are being introduced in [PR #371](https://github.com/gruntwork-io/terraform-aws-ecs/pull/371)

Expand All @@ -32,7 +32,7 @@ ECS and register itself as part of the right cluster.

## How do you run Docker containers on the cluster?

See the [service module](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-service/README.adoc).
See the [service module](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-service/README.adoc).

## How do you add additional security group rules?

Expand Down Expand Up @@ -97,7 +97,7 @@ currently no way in ECS to manage IAM policies on a per-Docker-container basis.

## How do you make changes to the EC2 Instances in the cluster?

To deploy an update to an ECS Service, see the [ecs-service module](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-service). To deploy an update to the
To deploy an update to an ECS Service, see the [ecs-service module](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-service). To deploy an update to the
EC2 Instances in your ECS cluster, such as a new AMI, read on.

Terraform and AWS do not provide a way to automatically roll out a change to the Instances in an ECS Cluster. Due to
Expand Down Expand Up @@ -127,8 +127,8 @@ To deploy a change such as rolling out a new AMI to all ECS Instances:
python3 roll-out-ecs-cluster-update.py --asg-name ASG_NAME --cluster-name CLUSTER_NAME --aws-region AWS_REGION
```

If you have your output variables configured as shown in [outputs.tf](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/examples/docker-service-with-elb/outputs.tf)
of the [docker-service-with-elb example](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/examples/docker-service-with-elb), you can use the `terraform output`
If you have your output variables configured as shown in [outputs.tf](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/examples/docker-service-with-elb/outputs.tf)
of the [docker-service-with-elb example](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/examples/docker-service-with-elb), you can use the `terraform output`
command to fill in most of the arguments automatically:

```
Expand Down Expand Up @@ -181,8 +181,8 @@ To deploy a change such as rolling out a new AMI to all ECS Instances:
python3 asg-instance-refresh.py --asg-name ASG_NAME --aws-region AWS_REGION
```

If you have your output variables configured as shown in [outputs.tf](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/examples/docker-service-with-elb/outputs.tf)
of the [docker-service-with-elb example](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/examples/docker-service-with-elb), you can use the `terraform output`
If you have your output variables configured as shown in [outputs.tf](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/examples/docker-service-with-elb/outputs.tf)
of the [docker-service-with-elb example](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/examples/docker-service-with-elb), you can use the `terraform output`
command to fill in most of the arguments automatically:

```
Expand Down Expand Up @@ -235,7 +235,7 @@ enable Capacity Providers on an existing ECS cluster that did not have Capacity
instances to ensure all the instances get associated with the new Capacity Provider.

To rotate the instances, you can run the
[roll-out-ecs-cluster-update.py](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-cluster/roll-out-ecs-cluster-update.py)
[roll-out-ecs-cluster-update.py](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-cluster/roll-out-ecs-cluster-update.py)
script in the `terraform-aws-ecs` module. Refer to the
[documentation](#how-do-you-make-changes-to-the-ec2-instances-in-the-cluster)
for more information on the script.
Expand All @@ -253,7 +253,7 @@ for more information on the script.

module "ecs_cluster" {

source = "git::[email protected]:gruntwork-io/terraform-aws-ecs.git//modules/ecs-cluster?ref=v0.38.9"
source = "git::[email protected]:gruntwork-io/terraform-aws-ecs.git//modules/ecs-cluster?ref=v0.38.10"

# ----------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
Expand Down Expand Up @@ -559,7 +559,7 @@ module "ecs_cluster" {
# ------------------------------------------------------------------------------------------------------

terraform {
source = "git::[email protected]:gruntwork-io/terraform-aws-ecs.git//modules/ecs-cluster?ref=v0.38.9"
source = "git::[email protected]:gruntwork-io/terraform-aws-ecs.git//modules/ecs-cluster?ref=v0.38.10"
}

inputs = {
Expand Down Expand Up @@ -1561,11 +1561,11 @@ Set this variable to true to enable the use of Instance Metadata Service Version
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-cluster/readme.md",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-cluster/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-cluster/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-cluster/readme.md",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-cluster/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-cluster/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "869db00a5c732d3ca1f48f9423eb1f9e"
"hash": "9137f7422e3ef304e43792ced1ccab0b"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Amazon ECS" version="0.38.9" lastModifiedVersion="0.38.7"/>
<VersionBadge repoTitle="Amazon ECS" version="0.38.10" lastModifiedVersion="0.38.7"/>

# ECS Daemon Service Module

<a href="https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-daemon-service" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-daemon-service" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-ecs/releases/tag/v0.38.7" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

Expand All @@ -33,7 +33,7 @@ environment variables to set, and so on. To actually run an ECS Task, you define

## How do you create an ECS cluster?

To use ECS, you first deploy one or more EC2 Instances into a "cluster". See the [ecs-cluster module](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-cluster)
To use ECS, you first deploy one or more EC2 Instances into a "cluster". See the [ecs-cluster module](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-cluster)
for how to create a cluster.

## How do you add additional IAM policies?
Expand Down Expand Up @@ -82,7 +82,7 @@ EOF

module "ecs_daemon_service" {

source = "git::[email protected]:gruntwork-io/terraform-aws-ecs.git//modules/ecs-daemon-service?ref=v0.38.9"
source = "git::[email protected]:gruntwork-io/terraform-aws-ecs.git//modules/ecs-daemon-service?ref=v0.38.10"

# ----------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
Expand Down Expand Up @@ -204,7 +204,7 @@ module "ecs_daemon_service" {
# ------------------------------------------------------------------------------------------------------

terraform {
source = "git::[email protected]:gruntwork-io/terraform-aws-ecs.git//modules/ecs-daemon-service?ref=v0.38.9"
source = "git::[email protected]:gruntwork-io/terraform-aws-ecs.git//modules/ecs-daemon-service?ref=v0.38.10"
}

inputs = {
Expand Down Expand Up @@ -587,11 +587,11 @@ If true, Terraform will wait for the service to reach a steady state—as in, th
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-daemon-service/readme.md",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-daemon-service/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-daemon-service/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-daemon-service/readme.md",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-daemon-service/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-daemon-service/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "483fc65f944c755549d1a7ff652ef6da"
"hash": "db631ce75603f141063282f4c0df967c"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Amazon ECS" version="0.38.9" lastModifiedVersion="0.37.0"/>
<VersionBadge repoTitle="Amazon ECS" version="0.38.10" lastModifiedVersion="0.37.0"/>

# ECS Deployment Scripts

<a href="https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-deploy" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-deploy" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-ecs/releases/tag/v0.37.0" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

Expand Down Expand Up @@ -48,7 +48,7 @@ The `run-ecs-task` script assumes you already have the following:
resource](https://www.terraform.io/docs/providers/aws/r/ecs_task_definition.html). You'll need to know the family
name and revision of the ECS Task Definition you want to run.

Check out the [deploy-ecs-task example](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/examples/deploy-ecs-task) for working sample code of both of the above.
Check out the [deploy-ecs-task example](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/examples/deploy-ecs-task) for working sample code of both of the above.

To run the ECS Task Definition `db-backup` at revision `3` in an ECS Cluster named `ecs-stage` in `us-west-2`, use the
following command:
Expand Down Expand Up @@ -95,11 +95,11 @@ container instead of the command configured in the Task Definition.
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-deploy/readme.md",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-deploy/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-deploy/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-deploy/readme.md",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-deploy/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-deploy/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "4a228edf819d75adff3993292c230a7e"
"hash": "2e9f06cb922633a11a5a2d6f39a19452"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Amazon ECS" version="0.38.9" lastModifiedVersion="0.24.1"/>
<VersionBadge repoTitle="Amazon ECS" version="0.38.10" lastModifiedVersion="0.24.1"/>

# Fargate Module

<a href="https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-fargate" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-fargate" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-ecs/releases/tag/v0.24.1" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

Expand All @@ -23,11 +23,11 @@ guide in [the release notes](https://github.com/gruntwork-io/terraform-aws-ecs/r
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-fargate/readme.md",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-fargate/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-fargate/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-fargate/readme.md",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-fargate/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-fargate/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "2a056f90acdd5b3304aaed0a02c9af91"
"hash": "09ae3baa68ae771574acaf3c55f9bb7d"
}
##DOCS-SOURCER-END -->
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import VersionBadge from '../../../../../src/components/VersionBadge.tsx';
import { HclListItem, HclListItemDescription, HclListItemTypeDetails, HclListItemDefaultValue, HclGeneralListItem } from '../../../../../src/components/HclListItem.tsx';
import { ModuleUsage } from "../../../../../src/components/ModuleUsage";

<VersionBadge repoTitle="Amazon ECS" version="0.38.9" lastModifiedVersion="0.32.1"/>
<VersionBadge repoTitle="Amazon ECS" version="0.38.10" lastModifiedVersion="0.32.1"/>

# ECS Scripts

<a href="https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-scripts" className="link-button" title="View the source code for this module in GitHub.">View Source</a>
<a href="https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-scripts" className="link-button" title="View the source code for this module in GitHub.">View Source</a>

<a href="https://github.com/gruntwork-io/terraform-aws-ecs/releases/tag/v0.32.1" className="link-button" title="Release notes for only versions which impacted this module.">Release Notes</a>

Expand All @@ -31,7 +31,7 @@ You can install the helpers using the [Gruntwork Installer](https://github.com/g
gruntwork-install --module-name "ecs-scripts" --repo "https://github.com/gruntwork-io/terraform-aws-ecs" --tag "0.0.1"
```

For an example, see the [Packer](https://www.packer.io/) template under [/examples/example-ecs-instance-ami/build.json](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/examples/example-ecs-instance-ami/build.json).
For an example, see the [Packer](https://www.packer.io/) template under [/examples/example-ecs-instance-ami/build.json](https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/examples/example-ecs-instance-ami/build.json).

## Using the configure-ecs-instance helper

Expand Down Expand Up @@ -79,11 +79,11 @@ Run `configure-ecs-instance --help` to see all available options.
<!-- ##DOCS-SOURCER-START
{
"originalSources": [
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-scripts/readme.md",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-scripts/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.9/modules/ecs-scripts/outputs.tf"
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-scripts/readme.md",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-scripts/variables.tf",
"https://github.com/gruntwork-io/terraform-aws-ecs/tree/v0.38.10/modules/ecs-scripts/outputs.tf"
],
"sourcePlugin": "module-catalog-api",
"hash": "eba6543f314cf9b55cb89ef60f70705c"
"hash": "5512869baad9e6a20c83deb25327e659"
}
##DOCS-SOURCER-END -->
Loading