Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
23d69b-aliyun-alicloud-instance
Commits
834c9696
Commit
834c9696
authored
1 year ago
by
admin
Browse files
Options
Download
Email Patches
Plain Diff
环境代码变更
parent
9f8c2dc9
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
variables.tf
+38
-44
variables.tf
with
38 additions
and
44 deletions
+38
-44
variables.tf
+
38
-
44
View file @
834c9696
variable
"instance_type"
{
type
=
list
(
string
)
default
=
[
"ecs.
c6
.large"
]
description
=
"实例规格"
variable
"instance_type"
{
type
=
list
(
string
)
default
=
[
"ecs.
t6-c1m2
.large"
]
description
=
"实例规格"
}
variable
"key_pair"
{
type
=
string
description
=
"密钥"
default
=
"yddpro"
variable
"key_pair"
{
type
=
string
description
=
"密钥"
default
=
"yddpro"
}
variable
"allocate_public_ip"
{
type
=
bool
description
=
"是否申请公网IP"
default
=
true
variable
"allocate_public_ip"
{
type
=
bool
description
=
"是否申请公网IP"
default
=
true
}
variable
"instance_name"
{
type
=
string
description
=
"实例名称"
default
=
"ydd.test"
variable
"instance_name"
{
type
=
string
description
=
"实例名称"
default
=
"ydd.test"
}
variable
"target"
{
type
=
number
default
=
1
variable
"target"
{
type
=
number
default
=
1
}
variable
"vswitchs"
{
type
=
list
(
object
({
variable
"vswitchs"
{
type
=
list
(
object
({
availability_zone
=
string
vswitch_id
=
string
security_groups
=
list
(
string
)
image_id
=
string
}))
default
=
[
{
availability_zone
=
"cn-hangzhou-h"
vswitch_id
=
"vsw-bp15jwx4e0hbmfwgyyilc"
security_groups
=
[
"sg-bp16fd1twy1062dmocgu"
]
image_id
=
"centos_7_9_x64_20G_alibase_20230815.vhd"
}
]
default
=
[{
"availability_zone"
:
"cn-beijing-i"
,
"security_groups"
:
[
"sg-2zeea0q11d7pfllpglm0"
],
"vswitch_id"
:
"vsw-2zex0qldhj7pqrs0sfp9c"
,
"image_id"
:
"centos_7_9_x64_20G_alibase_20230815.vhd"
}]
}
variable
"service_account_id"
{
type
=
number
default
=
21
variable
"service_account_id"
{
type
=
number
default
=
21
}
variable
"system_disk_type"
{
type
=
string
description
=
"系统盘类型"
default
=
"cloud_efficiency"
variable
"system_disk_type"
{
type
=
string
description
=
"系统盘类型"
default
=
"cloud_efficiency"
}
variable
"system_disk_size"
{
type
=
number
description
=
"系统盘大小"
default
=
40
variable
"system_disk_size"
{
type
=
number
description
=
"系统盘大小"
default
=
40
}
variable
"tags"
{
type
=
map
(
string
)
description
=
"实例标签"
default
=
{
}
variable
"tags"
{
type
=
map
(
string
)
description
=
"实例标签"
default
=
{
"Platform"
:
"YDD"
,
"ORDER_NO"
:
"123102114575126000112"
,
"ENV"
:
"DEV"
,
"Application"
:
"混合云虚拟机"
,
"PlatformUser"
:
"毕敏立"
}
}
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
Menu
Explore
Projects
Groups
Snippets