Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
terraform-modules
jz_swarm_project
Commits
8773b97d
Commit
8773b97d
authored
May 12, 2022
by
Aleksander Cynarski
💬
Browse files
Merge branch 'dev-terraform_host' into 'master'
remove terraform_host feature See merge request
!11
parents
cb97ea50
5b3de497
Changes
2
Hide whitespace changes
Inline
Side-by-side
main.tf
View file @
8773b97d
data
"aws_region"
"current"
{}
module
"terraform_host"
{
source
=
"git::https://git.jazzy.pro/terraform-modules/terraform_host?ref=v1.0.0"
}
module
"amzn2_docker_ami"
{
source
=
"git::https://git.jazzy.pro/terraform-modules/jz_amzn2_docker_ami?ref=v1.0.0"
}
securitygroups.tf
View file @
8773b97d
...
...
@@ -46,7 +46,7 @@ resource "aws_security_group" "dev" {
from_port
=
ingress
.
value
to_port
=
ingress
.
value
protocol
=
"tcp"
cidr_blocks
=
distinct
(
flatten
([
var
.
jz_swarm_generic
.
swarm_mgmt_cidrs
,
module
.
terraform_host
.
cidr
]))
cidr_blocks
=
distinct
(
flatten
([
var
.
jz_swarm_generic
.
swarm_mgmt_cidrs
]))
}
}
...
...
Write
Preview
Supports
Markdown
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