Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
terraform
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
HADOOP
terraform
Commits
014d5918
Commit
014d5918
authored
4 years ago
by
František Dvořák
Browse files
Options
Downloads
Patches
Plain Diff
Bioportal: floating IP externally
parent
04955b19
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+1
-0
1 addition, 0 deletions
README.md
deploy.tf
+1
-5
1 addition, 5 deletions
deploy.tf
variables.tf
+4
-6
4 additions, 6 deletions
variables.tf
with
6 additions
and
11 deletions
README.md
+
1
−
0
View file @
014d5918
...
...
@@ -16,6 +16,7 @@ Configuration:
*
public part of ssh key uploaded to OpenStack
*
ssh-agent with ssh key
*
configured access to OpenStack (for example downloaded
*cloud.yaml*
file or the environment set)
*
floating IP created
# Hadoop image
...
...
This diff is collapsed.
Click to expand it.
deploy.tf
+
1
−
5
View file @
014d5918
...
...
@@ -189,12 +189,8 @@ resource "openstack_compute_instance_v2" "server" {
}
}
resource
"openstack_networking_floatingip_v2"
"floatip_1"
{
pool
=
var
.
public_network
}
resource
"openstack_compute_floatingip_associate_v2"
"server-fip-1"
{
floating_ip
=
openstack_networking_floatingip_v2
.
floatip_1
.
address
floating_ip
=
var
.
floating_ip
instance_id
=
openstack_compute_instance_v2
.
server
[
0
].
id
provisioner
"local-exec"
{
command
=
<<
EOF
...
...
This diff is collapsed.
Click to expand it.
variables.tf
+
4
−
6
View file @
014d5918
...
...
@@ -28,6 +28,10 @@ variable "flavor" {
default
=
"standard.medium"
}
variable
"floating_ip"
{
type
=
string
}
variable
"image_id"
{
description
=
"Image id (override other image search values)"
default
=
null
...
...
@@ -63,12 +67,6 @@ variable "local_network_id" {
default
=
null
}
variable
"public_network"
{
description
=
"Public network name"
default
=
"public-muni-147-251-124-GROUP"
# default = "public-cesnet-78-128-250-PERSONAL"
}
variable
"security_admin_cidr"
{
description
=
"Admin networks (ssh only)"
type
=
set
(
string
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment