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
54358edb
Commit
54358edb
authored
Feb 25, 2019
by
Denis Iskandarov
Committed by
Anton Babenko
Feb 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix call to local.instance_name (#71)
Signed-off-by:
Denis Iskandarov
<
d.iskandarov@gmail.com
>
parent
893633c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
main.tf
main.tf
+2
-2
No files found.
main.tf
View file @
54358edb
...
...
@@ -35,7 +35,7 @@ resource "aws_instance" "this" {
placement_group
=
"
${
var
.
placement_group
}
"
tenancy
=
"
${
var
.
tenancy
}
"
tags
=
"
${
merge
(
local
s
.
instance_name
,
var
.
tags
)
}
"
tags
=
"
${
merge
(
local
.
instance_name
,
var
.
tags
)
}
"
lifecycle
{
# Due to several known issues in Terraform AWS provider related to arguments of aws_instance:
...
...
@@ -78,7 +78,7 @@ resource "aws_instance" "this_t2" {
cpu_credits
=
"
${
var
.
cpu_credits
}
"
}
tags
=
"
${
merge
(
local
s
.
instance_name
,
var
.
tags
)
}
"
tags
=
"
${
merge
(
local
.
instance_name
,
var
.
tags
)
}
"
lifecycle
{
# Due to several known issues in Terraform AWS provider related to arguments of aws_instance:
...
...
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