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:
| Name | Version |
|------|---------|
| <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
| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.51 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.72 |
## Modules
......
......@@ -20,13 +20,13 @@ Note that this example may create resources which can cost money. Run `terraform
| Name | Version |
|------|---------|
| <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
| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.51 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.72 |
## Modules
......
......@@ -169,6 +169,7 @@ module "ec2_metadata_options" {
http_endpoint = "enabled"
http_tokens = "required"
http_put_response_hop_limit = 8
instance_metadata_tags = "enabled"
}
tags = local.tags
......
......@@ -4,7 +4,7 @@ terraform {
required_providers {
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
| Name | Version |
|------|---------|
| <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
| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.51 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.72 |
## Modules
......
......@@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 3.51"
version = ">= 3.72"
}
}
}
......@@ -88,6 +88,7 @@ resource "aws_instance" "this" {
http_endpoint = lookup(metadata_options.value, "http_endpoint", "enabled")
http_tokens = lookup(metadata_options.value, "http_tokens", "optional")
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 {
required_providers {
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