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
980653-aliyun-alicloud-openim
Commits
d5f094d8
Commit
d5f094d8
authored
1 year ago
by
admin
Browse files
Options
Download
Email Patches
Plain Diff
环境代码变更
parent
89d26030
iac/4b09d0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
variables.tf
+33
-85
variables.tf
with
33 additions
and
85 deletions
+33
-85
variables.tf
+
33
-
85
View file @
d5f094d8
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.openIM"
variable
"instance_name"
{
type
=
string
description
=
"实例名称"
default
=
"ydd.openIM"
}
variable
"target"
{
type
=
number
default
=
1
variable
"target"
{
type
=
number
default
=
1
}
variable
"service_account_id"
{
type
=
number
default
=
2
1
variable
"service_account_id"
{
type
=
number
default
=
1
64
}
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
"oss_endpoint"
{
type
=
string
description
=
"oss终端路径"
default
=
"https://idcos-ydd.oss-cn-hangzhou.aliyuncs.com"
variable
"oss_endpoint"
{
type
=
string
description
=
"oss终端路径"
default
=
"https://idcos-ydd.oss-cn-hangzhou.aliyuncs.com"
}
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-j"
vswitch_id
=
"vsw-bp1u2pgjqov85kn5ii0wz"
security_groups
=
[
"sg-bp16fd1twy1062dmocgu"
]
image_id
=
"centos_7_9_x64_20G_alibase_20230815.vhd"
},
{
availability_zone
=
"cn-hangzhou-i"
vswitch_id
=
"vsw-bp1c80k5iuvv8pqnv4j6b"
security_groups
=
[
"sg-bp16fd1twy1062dmocgu"
]
image_id
=
"centos_7_9_x64_20G_alibase_20230815.vhd"
},
{
availability_zone
=
"cn-beijing-i"
vswitch_id
=
"vsw-2zex0qldhj7pqrs0sfp9c"
security_groups
=
[
"sg-2zeea0q11d7pfllpglm0"
]
image_id
=
"centos_7_9_x64_20G_alibase_20230815.vhd"
},
{
availability_zone
=
"cn-beijing-k"
vswitch_id
=
"vsw-2zeek68o71jlydxlga2z6"
security_groups
=
[
"sg-2zeea0q11d7pfllpglm0"
]
image_id
=
"centos_7_9_x64_20G_alibase_20230815.vhd"
},
{
availability_zone
=
"cn-hangzhou-j"
vswitch_id
=
"vsw-bp1kwdeuw54dehjzmg9jm"
security_groups
=
[
"sg-bp1dlrlw9omoq4r97j0f"
]
image_id
=
"centos_7_9_x64_20G_alibase_20230815.vhd"
},
{
availability_zone
=
"cn-hangzhou-k"
vswitch_id
=
"vsw-bp1ancu5ujklokvh58xp3"
security_groups
=
[
"sg-bp1dlrlw9omoq4r97j0f"
]
image_id
=
"centos_7_9_x64_20G_alibase_20230815.vhd"
},
{
availability_zone
=
"cn-guangzhou-a"
vswitch_id
=
"vsw-7xvvbmuwfqoev7nltw8fw"
security_groups
=
[
"sg-7xv5bqoy1cmql9alvpom"
]
image_id
=
"centos_7_9_x64_20G_alibase_20230815.vhd"
},
{
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-hangzhou-j"
,
"security_groups"
:
[
"sg-bp16fd1twy1062dmocgu"
],
"vswitch_id"
:
"vsw-bp1u2pgjqov85kn5ii0wz"
,
"image_id"
:
"centos_7_9_x64_20G_alibase_20230815.vhd"
},{
"availability_zone"
:
"cn-hangzhou-i"
,
"security_groups"
:
[
"sg-bp16fd1twy1062dmocgu"
],
"vswitch_id"
:
"vsw-bp1c80k5iuvv8pqnv4j6b"
,
"image_id"
:
"centos_7_9_x64_20G_alibase_20230815.vhd"
},{
"availability_zone"
:
"cn-beijing-i"
,
"security_groups"
:
[
"sg-2zeea0q11d7pfllpglm0"
],
"vswitch_id"
:
"vsw-2zex0qldhj7pqrs0sfp9c"
,
"image_id"
:
"centos_7_9_x64_20G_alibase_20230815.vhd"
},{
"availability_zone"
:
"cn-beijing-k"
,
"security_groups"
:
[
"sg-2zeea0q11d7pfllpglm0"
],
"vswitch_id"
:
"vsw-2zeek68o71jlydxlga2z6"
,
"image_id"
:
"centos_7_9_x64_20G_alibase_20230815.vhd"
},{
"availability_zone"
:
"cn-hangzhou-j"
,
"security_groups"
:
[
"sg-bp1dlrlw9omoq4r97j0f"
],
"vswitch_id"
:
"vsw-bp1kwdeuw54dehjzmg9jm"
,
"image_id"
:
"centos_7_9_x64_20G_alibase_20230815.vhd"
},{
"availability_zone"
:
"cn-hangzhou-k"
,
"security_groups"
:
[
"sg-bp1dlrlw9omoq4r97j0f"
],
"vswitch_id"
:
"vsw-bp1ancu5ujklokvh58xp3"
,
"image_id"
:
"centos_7_9_x64_20G_alibase_20230815.vhd"
},{
"availability_zone"
:
"cn-guangzhou-a"
,
"security_groups"
:
[
"sg-7xv5bqoy1cmql9alvpom"
],
"vswitch_id"
:
"vsw-7xvvbmuwfqoev7nltw8fw"
,
"image_id"
:
"centos_7_9_x64_20G_alibase_20230815.vhd"
},{
"availability_zone"
:
"cn-hangzhou-h"
,
"security_groups"
:
[
"sg-bp16fd1twy1062dmocgu"
],
"vswitch_id"
:
"vsw-bp15jwx4e0hbmfwgyyilc"
,
"image_id"
:
"centos_7_9_x64_20G_alibase_20230815.vhd"
}]
}
#4c 8G
variable
"spot_types"
{
type
=
list
(
string
)
default
=
[
"ecs.c7.xlarge"
,
"ecs.u1-c1m2.xlarge"
,
"ecs.c6.xlarge"
,
"ecs.c5.xlarge"
]
variable
"spot_types"
{
type
=
list
(
string
)
default
=
[
"ecs.c7.xlarge"
,
"ecs.u1-c1m2.xlarge"
,
"ecs.c6.xlarge"
,
"ecs.c5.xlarge"
]
}
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