Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
8682a57e
Unverified
Commit
8682a57e
authored
4 years ago
by
Hugo Blom
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
use image id instad of name (#7293)
parent
662a37ab
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/terraform/terraform.py
+1
-1
1 addition, 1 deletion
contrib/terraform/terraform.py
with
1 addition
and
1 deletion
contrib/terraform/terraform.py
+
1
−
1
View file @
8682a57e
...
@@ -323,7 +323,7 @@ def openstack_host(resource, module_name):
...
@@ -323,7 +323,7 @@ def openstack_host(resource, module_name):
})
})
# add groups based on attrs
# add groups based on attrs
groups
.
append
(
'
os_image=
'
+
attrs
[
'
image
'
][
'
name
'
])
groups
.
append
(
'
os_image=
'
+
attrs
[
'
image
'
][
'
id
'
])
groups
.
append
(
'
os_flavor=
'
+
attrs
[
'
flavor
'
][
'
name
'
])
groups
.
append
(
'
os_flavor=
'
+
attrs
[
'
flavor
'
][
'
name
'
])
groups
.
extend
(
'
os_metadata_%s=%s
'
%
item
groups
.
extend
(
'
os_metadata_%s=%s
'
%
item
for
item
in
list
(
attrs
[
'
metadata
'
].
items
()))
for
item
in
list
(
attrs
[
'
metadata
'
].
items
()))
...
...
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