-
Notifications
You must be signed in to change notification settings - Fork 11
docs:10 分钟搭建微信、支付宝小程序的terraform模板 #327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs:10 分钟搭建微信、支付宝小程序的terraform模板 #327
Conversation
@@ -0,0 +1,158 @@ | |||
provider "alicloud" { | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里最好指定一个 region,并将其抽取为变量
command_id = alicloud_ecs_command.run_command.id | ||
timeouts { | ||
create = "10m" | ||
delete = "10m" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个 delete 不需要设置超时时间,删除不是一个异步动作
@@ -0,0 +1,4 @@ | |||
# Outputs | |||
output "wordpress_url" { | |||
value = "http://${alicloud_instance.ecs_instance.public_ip}/wp-admin" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
output 增加下描述
default = "ecs.e-c1m2.large" | ||
} | ||
|
||
variable "instance_password" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个使用 ecs_instance_password,之前已经录入好了
3380fcf
to
6d9cd82
Compare
6d9cd82
to
a827946
Compare
a827946
to
db82618
Compare
No description provided.