Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tf_mod_aws_eks_cluster
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
steamhaus
tf_mod_aws_eks_cluster
Commits
cbd1ff61
Commit
cbd1ff61
authored
Jul 03, 2019
by
Danny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init commit
parent
e8a43eee
Pipeline
#6361
passed with stage
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
workers.tf
workers.tf
+2
-1
No files found.
workers.tf
View file @
cbd1ff61
...
...
@@ -2,7 +2,8 @@ resource "aws_launch_configuration" "workers" {
associate_public_ip_address
=
false
ebs_optimized
=
"
${
var
.
ebs_optimized_workers
}
"
iam_instance_profile
=
"
${
aws_iam_instance_profile
.
workers
.
name
}
"
image_id
=
"
${
var
.
ami_id
!=
""
?
var
.
ami_id
:
data
.
aws_ami
.
eks_worker
.
id
}
"
# image_id = "${var.ami_id != "" ? var.ami_id : data.aws_ami.eks_worker.id}"
image_id
=
"ami-dea4d5a1"
instance_type
=
"
${
var
.
instance_type
}
"
name_prefix
=
"
${
var
.
cluster_name
}
-eks-workers-"
security_groups
=
[
"
${
aws_security_group
.
workers
.
id
}
"
]
...
...
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