Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bo-Chun Chen
Terraform Openstack
Commits
a557ca3a
Commit
a557ca3a
authored
Jun 26, 2019
by
Ryan Randles Jones
Browse files
Update main.tf
parent
0f36e0ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.tf
View file @
a557ca3a
...
...
@@ -114,3 +114,16 @@ resource "openstack_compute_interface_attach_v2" "terraform2" {
instance_id
=
"
${
openstack_compute_instance_v2
.
terraform
.
id
}
"
network_id
=
"
${
openstack_networking_network_v2
.
terraform2
.
id
}
"
}
provisioner
"file"
{
source
=
"script.sh"
destination
=
"/tmp/script.sh"
}
provisioner
"remote-exec"
{
inline
=
[
"chmod +x /tmp/script.sh"
,
"/tmp/script.sh args"
,
]
}
}
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