Skip to content

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

Conversation

wbw2048
Copy link
Contributor

@wbw2048 wbw2048 commented Jul 10, 2025

No description provided.

@@ -0,0 +1,158 @@
provider "alicloud" {
}
Copy link
Collaborator

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"
Copy link
Collaborator

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"
Copy link
Collaborator

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" {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个使用 ecs_instance_password,之前已经录入好了

@wbw2048 wbw2048 force-pushed the develop-your-wechat-mini-program-in-10-minutes branch 3 times, most recently from 3380fcf to 6d9cd82 Compare July 17, 2025 03:41
@wbw2048 wbw2048 changed the title 添加10 分钟搭建微信、支付宝小程序的terraform模板 docs:10 分钟搭建微信、支付宝小程序的terraform模板 Jul 17, 2025
@wbw2048 wbw2048 force-pushed the develop-your-wechat-mini-program-in-10-minutes branch from 6d9cd82 to a827946 Compare July 17, 2025 08:00
@wbw2048 wbw2048 force-pushed the develop-your-wechat-mini-program-in-10-minutes branch from a827946 to db82618 Compare July 18, 2025 03:37
@shanye997 shanye997 merged commit 4b2abbd into alibabacloud-automation:main Jul 18, 2025
3 checks passed
@wbw2048 wbw2048 deleted the develop-your-wechat-mini-program-in-10-minutes branch July 18, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants