Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
eos-test
b226e3-huawei-huaweicloud-ecs
Commits
ecd76115
Commit
ecd76115
authored
1 year ago
by
admin
Browse files
Options
Download
Email Patches
Plain Diff
环境代码变更
parent
62236eda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
variables.tf
+29
-35
variables.tf
with
29 additions
and
35 deletions
+29
-35
variables.tf
+
29
-
35
View file @
ecd76115
variable
"service_account_id"
{
type
=
string
default
=
44
variable
"service_account_id"
{
type
=
string
default
=
"
44
"
}
variable
"name"
{
type
=
string
default
=
"huawei-spot-instance"
variable
"name"
{
type
=
string
default
=
"huawei-spot-instance"
}
variable
"description"
{
type
=
string
default
=
"华为云spot实例"
variable
"description"
{
type
=
string
default
=
"华为云spot实例"
}
variable
"target"
{
type
=
number
default
=
1
variable
"target"
{
type
=
number
default
=
1
}
variable
"cpu"
{
type
=
number
default
=
2
variable
"cpu"
{
type
=
number
default
=
2
}
variable
"memory"
{
type
=
number
default
=
4
variable
"memory"
{
type
=
number
default
=
4
}
variable
"subnets"
{
type
=
list
(
object
({
variable
"subnets"
{
type
=
list
(
object
({
security_groups
=
list
(
string
)
subnet_id
=
string
availability_zone
=
string
image_id
=
string
}))
default
=
[
{
security_groups
=
[
"aaf049e5-daad-477a-a412-93a6c61d8d5d"
]
subnet_id
=
"6efcff51-6b52-4d7b-ab5d-681b2f4d2608"
availability_zone
=
"cn-east-3a"
image_id
=
"51a76dc4-0a0c-4e7c-bb01-d9dbaabe1441"
}
]
default
=
[{
"availability_zone"
:
"cn-east-3a"
,
"security_groups"
:
[
"aaf049e5-daad-477a-a412-93a6c61d8d5d"
],
"subnet_id"
:
"6efcff51-6b52-4d7b-ab5d-681b2f4d2608"
,
"image_id"
:
"51a76dc4-0a0c-4e7c-bb01-d9dbaabe1441"
}]
}
variable
"allocate_public_ip"
{
type
=
bool
default
=
true
variable
"allocate_public_ip"
{
type
=
bool
default
=
true
}
variable
"internet_max_bandwidth_out"
{
type
=
number
default
=
100
}
variable
"internet_max_bandwidth_out"
{
type
=
number
default
=
100
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment