Skip to content

Commit b2fb960

Browse files
authored
feat: Add instance_metadata_tags attribute and bump AWS provider to support (#254)
1 parent 2fea35c commit b2fb960

File tree

8 files changed

+11
-9
lines changed

8 files changed

+11
-9
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ The following combinations are supported to conditionally create resources:
160160
| Name | Version |
161161
|------|---------|
162162
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
163-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.51 |
163+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.72 |
164164

165165
## Providers
166166

167167
| Name | Version |
168168
|------|---------|
169-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.51 |
169+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.72 |
170170

171171
## Modules
172172

examples/complete/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ Note that this example may create resources which can cost money. Run `terraform
2020
| Name | Version |
2121
|------|---------|
2222
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
23-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.51 |
23+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.72 |
2424

2525
## Providers
2626

2727
| Name | Version |
2828
|------|---------|
29-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.51 |
29+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.72 |
3030

3131
## Modules
3232

examples/complete/main.tf

+1
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ module "ec2_metadata_options" {
169169
http_endpoint = "enabled"
170170
http_tokens = "required"
171171
http_put_response_hop_limit = 8
172+
instance_metadata_tags = "enabled"
172173
}
173174

174175
tags = local.tags

examples/complete/versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 3.51"
7+
version = ">= 3.72"
88
}
99
}
1010
}

examples/volume-attachment/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ Note that this example may create resources which can cost money. Run `terraform
2222
| Name | Version |
2323
|------|---------|
2424
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.13.1 |
25-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.51 |
25+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 3.72 |
2626

2727
## Providers
2828

2929
| Name | Version |
3030
|------|---------|
31-
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.51 |
31+
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 3.72 |
3232

3333
## Modules
3434

examples/volume-attachment/versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 3.51"
7+
version = ">= 3.72"
88
}
99
}
1010
}

main.tf

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ resource "aws_instance" "this" {
8888
http_endpoint = lookup(metadata_options.value, "http_endpoint", "enabled")
8989
http_tokens = lookup(metadata_options.value, "http_tokens", "optional")
9090
http_put_response_hop_limit = lookup(metadata_options.value, "http_put_response_hop_limit", "1")
91+
instance_metadata_tags = lookup(metadata_options.value, "instance_metadata_tags", null)
9192
}
9293
}
9394

versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ terraform {
44
required_providers {
55
aws = {
66
source = "hashicorp/aws"
7-
version = ">= 3.51"
7+
version = ">= 3.72"
88
}
99
}
1010
}

0 commit comments

Comments
 (0)