Skip to content

Commit ef8dd25

Browse files
authored
Merge pull request #9 from unifio/dmi_terraform-provider-aws-v2-support
terraform-aws-provider v2.0 support updates
2 parents 32a57c8 + 596f20c commit ef8dd25

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
working_directory: ~/repo
66

77
docker:
8-
- image: unifio/ci:3.0.411-ruby-2.4
8+
- image: unifio/ci:3.0.622-ruby-2.5.3
99

1010
environment:
1111
AWS_REGION: 'us-east-2'

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
#### IMPROVEMENTS / NEW FEATURES:
44
* Add support for application auto scaling
55

6+
## 0.3.3 (March 10, 2019)
7+
8+
#### BACKWARDS INCOMPATIBILITIES / NOTES:
9+
##### [terraform-provider-aws v2.0](https://github.com/terraform-providers/terraform-provider-aws/blob/master/CHANGELOG.md) Updates
10+
* The [terraform-provider-aws](https://github.com/terraform-providers/terraform-provider-aws/issues/7697) has deprecated the use of the `current` filter in regions. The `current` filter was removed for [issue#7](https://github.com/unifio/terraform-aws-ecs/issues/8).
11+
* The [terraform-provider-aws](https://github.com/terraform-providers/terraform-provider-aws/issues/5576) now requires an `owners` argument. This was added in place of the owner-alias for [issue#8](https://github.com/unifio/terraform-aws-ecs/issues/8)
12+
* Updated [terraform-aws-asg](https://github.com/unifio/terraform-aws-asg/releases/tag/v0.3.7) to v0.3.7
13+
614
## 0.3.2 (March 9, 2018)
715

816
#### BACKWARDS INCOMPATIBILITIES / NOTES:

cluster/main.tf

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ terraform {
55
required_version = "> 0.11.0"
66
}
77

8-
data "aws_region" "current" {
9-
current = true
10-
}
8+
data "aws_region" "current" {}
119

1210
## Creates cloud-config data for agent cluster
1311
data "template_file" "user_data" {
@@ -22,6 +20,7 @@ data "template_file" "user_data" {
2220
## Creates autoscaling cluster
2321
data "aws_ami" "ecs_ami" {
2422
most_recent = true
23+
owners = ["amazon"]
2524

2625
filter {
2726
name = "architecture"
@@ -33,11 +32,6 @@ data "aws_ami" "ecs_ami" {
3332
values = ["amzn-ami-*-amazon-ecs-optimized"]
3433
}
3534

36-
filter {
37-
name = "owner-alias"
38-
values = ["amazon"]
39-
}
40-
4135
filter {
4236
name = "root-device-type"
4337
values = ["ebs"]
@@ -50,7 +44,7 @@ data "aws_ami" "ecs_ami" {
5044
}
5145

5246
module "cluster" {
53-
source = "github.com/unifio/terraform-aws-asg?ref=v0.3.1//group"
47+
source = "github.com/unifio/terraform-aws-asg?ref=v0.3.7//group"
5448

5549
# Resource tags
5650
stack_item_fullname = "${var.stack_item_fullname}"

examples/prereqs/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ provider "aws" {
77

88
## Configures base VPC
99
module "vpc_base" {
10-
source = "github.com/unifio/terraform-aws-vpc?ref=v0.3.3//base"
10+
source = "github.com/unifio/terraform-aws-vpc?ref=v0.4.0//base"
1111

1212
enable_dns = "true"
1313
stack_item_fullname = "${var.stack_item_fullname}"
@@ -17,7 +17,7 @@ module "vpc_base" {
1717

1818
## Configures VPC availabilty zones
1919
module "vpc_az" {
20-
source = "github.com/unifio/terraform-aws-vpc?ref=v0.3.3//az"
20+
source = "github.com/unifio/terraform-aws-vpc?ref=v0.4.0//az"
2121

2222
azs_provisioned = 2
2323
lans_per_az = 0

0 commit comments

Comments
 (0)