Commit b2fb9604 authored by Bryant Biggs's avatar Bryant Biggs Committed by GitHub

feat: Add `instance_metadata_tags` attribute and bump AWS provider to support (#254)

parent 2fea35c7
...@@ -160,13 +160,13 @@ The following combinations are supported to conditionally create resources: ...@@ -160,13 +160,13 @@ The following combinations are supported to conditionally create resources:
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 | | <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.51 | | <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.72 |
## Providers ## Providers
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.51 | | <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.72 |
## Modules ## Modules
......
...@@ -20,13 +20,13 @@ Note that this example may create resources which can cost money. Run `terraform ...@@ -20,13 +20,13 @@ Note that this example may create resources which can cost money. Run `terraform
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 | | <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.51 | | <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.72 |
## Providers ## Providers
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.51 | | <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.72 |
## Modules ## Modules
......
...@@ -169,6 +169,7 @@ module "ec2_metadata_options" { ...@@ -169,6 +169,7 @@ module "ec2_metadata_options" {
http_endpoint = "enabled" http_endpoint = "enabled"
http_tokens = "required" http_tokens = "required"
http_put_response_hop_limit = 8 http_put_response_hop_limit = 8
instance_metadata_tags = "enabled"
} }
tags = local.tags tags = local.tags
......
...@@ -4,7 +4,7 @@ terraform { ...@@ -4,7 +4,7 @@ terraform {
required_providers { required_providers {
aws = { aws = {
source = "hashicorp/aws" source = "hashicorp/aws"
version = ">= 3.51" version = ">= 3.72"
} }
} }
} }
...@@ -22,13 +22,13 @@ Note that this example may create resources which can cost money. Run `terraform ...@@ -22,13 +22,13 @@ Note that this example may create resources which can cost money. Run `terraform
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 | | <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.51 | | <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.72 |
## Providers ## Providers
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.51 | | <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.72 |
## Modules ## Modules
......
...@@ -4,7 +4,7 @@ terraform { ...@@ -4,7 +4,7 @@ terraform {
required_providers { required_providers {
aws = { aws = {
source = "hashicorp/aws" source = "hashicorp/aws"
version = ">= 3.51" version = ">= 3.72"
} }
} }
} }
...@@ -88,6 +88,7 @@ resource "aws_instance" "this" { ...@@ -88,6 +88,7 @@ resource "aws_instance" "this" {
http_endpoint = lookup(metadata_options.value, "http_endpoint", "enabled") http_endpoint = lookup(metadata_options.value, "http_endpoint", "enabled")
http_tokens = lookup(metadata_options.value, "http_tokens", "optional") http_tokens = lookup(metadata_options.value, "http_tokens", "optional")
http_put_response_hop_limit = lookup(metadata_options.value, "http_put_response_hop_limit", "1") http_put_response_hop_limit = lookup(metadata_options.value, "http_put_response_hop_limit", "1")
instance_metadata_tags = lookup(metadata_options.value, "instance_metadata_tags", null)
} }
} }
......
...@@ -4,7 +4,7 @@ terraform { ...@@ -4,7 +4,7 @@ terraform {
required_providers { required_providers {
aws = { aws = {
source = "hashicorp/aws" source = "hashicorp/aws"
version = ">= 3.51" version = ">= 3.72"
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment