Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
terraform-aws-ec2-instance
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Terraform Modules
terraform-aws-ec2-instance
Commits
b2fb9604
Unverified
Commit
b2fb9604
authored
Jan 14, 2022
by
Bryant Biggs
Committed by
GitHub
Jan 14, 2022
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Add `instance_metadata_tags` attribute and bump AWS provider to support (#254)
parent
2fea35c7
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
9 deletions
+11
-9
README.md
README.md
+2
-2
README.md
examples/complete/README.md
+2
-2
main.tf
examples/complete/main.tf
+1
-0
versions.tf
examples/complete/versions.tf
+1
-1
README.md
examples/volume-attachment/README.md
+2
-2
versions.tf
examples/volume-attachment/versions.tf
+1
-1
main.tf
main.tf
+1
-0
versions.tf
versions.tf
+1
-1
No files found.
README.md
View file @
b2fb9604
...
@@ -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
...
...
examples/complete/README.md
View file @
b2fb9604
...
@@ -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
...
...
examples/complete/main.tf
View file @
b2fb9604
...
@@ -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
...
...
examples/complete/versions.tf
View file @
b2fb9604
...
@@ -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
"
}
}
}
}
}
}
examples/volume-attachment/README.md
View file @
b2fb9604
...
@@ -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
...
...
examples/volume-attachment/versions.tf
View file @
b2fb9604
...
@@ -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
"
}
}
}
}
}
}
main.tf
View file @
b2fb9604
...
@@ -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
)
}
}
}
}
...
...
versions.tf
View file @
b2fb9604
...
@@ -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
"
}
}
}
}
}
}
Jose Ernesto Suarez
@ernesto
mentioned in commit
ab731d11
·
Apr 07, 2023
mentioned in commit
ab731d11
mentioned in commit ab731d112e37971368066b5dbecf35b075a853aa
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment