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
c49475f7
Unverified
Commit
c49475f7
authored
May 11, 2021
by
walid.ACHACH
Committed by
GitHub
May 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add tags support to root block device (#218)
parent
f24f6544
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
README.md
README.md
+2
-2
main.tf
main.tf
+1
-0
versions.tf
versions.tf
+1
-1
No files found.
README.md
View file @
c49475f7
...
@@ -85,13 +85,13 @@ data "aws_ami" "ubuntu-xenial" {
...
@@ -85,13 +85,13 @@ data "aws_ami" "ubuntu-xenial" {
| Name | Version |
| Name | Version |
|------|---------|
|------|---------|
|
<a
name=
"requirement_terraform"
></a>
[
terraform
](
#requirement\_terraform
)
| >= 0.12.6 |
|
<a
name=
"requirement_terraform"
></a>
[
terraform
](
#requirement\_terraform
)
| >= 0.12.6 |
|
<a
name=
"requirement_aws"
></a>
[
aws
](
#requirement\_aws
)
| >=
2.65
|
|
<a
name=
"requirement_aws"
></a>
[
aws
](
#requirement\_aws
)
| >=
3.24
|
## Providers
## Providers
| Name | Version |
| Name | Version |
|------|---------|
|------|---------|
|
<a
name=
"provider_aws"
></a>
[
aws
](
#provider\_aws
)
| >=
2.65
|
|
<a
name=
"provider_aws"
></a>
[
aws
](
#provider\_aws
)
| >=
3.24
|
## Modules
## Modules
...
...
main.tf
View file @
c49475f7
...
@@ -35,6 +35,7 @@ resource "aws_instance" "this" {
...
@@ -35,6 +35,7 @@ resource "aws_instance" "this" {
kms_key_id
=
lookup
(
root_block_device
.
value
,
"kms_key_id"
,
null
)
kms_key_id
=
lookup
(
root_block_device
.
value
,
"kms_key_id"
,
null
)
volume_size
=
lookup
(
root_block_device
.
value
,
"volume_size"
,
null
)
volume_size
=
lookup
(
root_block_device
.
value
,
"volume_size"
,
null
)
volume_type
=
lookup
(
root_block_device
.
value
,
"volume_type"
,
null
)
volume_type
=
lookup
(
root_block_device
.
value
,
"volume_type"
,
null
)
tags
=
lookup
(
root_block_device
.
value
,
"tags"
,
null
)
}
}
}
}
...
...
versions.tf
View file @
c49475f7
...
@@ -2,6 +2,6 @@ terraform {
...
@@ -2,6 +2,6 @@ terraform {
required_version
=
">= 0.12.6"
required_version
=
">= 0.12.6"
required_providers
{
required_providers
{
aws
=
">=
2.65
"
aws
=
">=
3.24
"
}
}
}
}
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