Skip to content

Commit

Permalink
Merge pull request #1 from silinternational/aws-5
Browse files Browse the repository at this point in the history
Release 1.0.0 -- upgrade to AWS provider version 5
  • Loading branch information
briskt authored Sep 11, 2024
2 parents 486cdb1 + 16ce2cf commit 5ae9b79
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ resource "aws_eip" "gateway_eip" {
app_name = var.app_name
app_env = var.app_env
}
vpc = true
domain = "vpc"
}

resource "aws_nat_gateway" "nat_gateway" {
Expand Down
16 changes: 9 additions & 7 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@
* Required variables
*/
variable "app_name" {
type = string
default = "terraform"
description = "Application name, used with app_env to create resource names"
type = string
default = "terraform"
}

variable "app_env" {
type = string
default = "testing"
description = "Application environment, used with app_name to create resource names"
type = string
default = "testing"
}

variable "aws_zones" {
description = "A list of zones to create subnets (max 8)"
type = list(string)

default = [
"us-east-1c",
"us-east-1d",
Expand All @@ -23,8 +24,9 @@ variable "aws_zones" {
}

variable "enable_dns_hostnames" {
type = bool
default = false
description = "A boolean flag to enable/disable DNS hostnames in the VPC. Defaults false."
type = bool
default = false
}

variable "create_nat_gateway" {
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.0.0, < 5.0.0"
version = ">= 5.0.0, < 6.0.0"
}
}
}

0 comments on commit 5ae9b79

Please sign in to comment.