diff --git a/.aoneci/acctest-terraform-integration.yml b/.aoneci/acctest-terraform-integration.yml index 5273c5df0da2..6c0fdc8ada24 100644 --- a/.aoneci/acctest-terraform-integration.yml +++ b/.aoneci/acctest-terraform-integration.yml @@ -124,7 +124,7 @@ jobs: if [[ ${fileName} == "alicloud/resource_alicloud"* || ${fileName} == "alicloud/data_source_alicloud"* || ${fileName} == "website/docs/r/"* || ${fileName} == "website/docs/d/"* ]]; then echo ${fileName} docsPathKey="website/docs/r" - if [[ $fileName =~ "data_source_" || $fileName =~ "website/docs/d/" ]]; then + if [[ $fileName =~ "data_source_alicloud" || $fileName =~ "website/docs/d/" ]]; then docsPathKey="website/docs/d" fi @@ -185,7 +185,7 @@ jobs: for fileName in ${diffFiles[@]}; do if [[ ${fileName} == "alicloud/resource_alicloud"* || ${fileName} == "alicloud/data_source_alicloud"* || ${fileName} == "website/docs/r/"* || ${fileName} == "website/docs/d/"* ]]; then docsPathKey="website/docs/r" - if [[ $fileName =~ "data_source_" || $fileName =~ "website/docs/d/" ]]; then + if [[ $fileName =~ "data_source_alicloud" || $fileName =~ "website/docs/d/" ]]; then docsPathKey="website/docs/d" fi diff --git a/.github/workflows/acctest-terraform-integration.yml b/.github/workflows/acctest-terraform-integration.yml index 4ff7f254d8ae..eb0085dcaf6b 100644 --- a/.github/workflows/acctest-terraform-integration.yml +++ b/.github/workflows/acctest-terraform-integration.yml @@ -112,7 +112,7 @@ jobs: if [[ ${fileName} == "alicloud/resource_alicloud"* || ${fileName} == "alicloud/data_source_alicloud"* || ${fileName} == "website/docs/r/"* || ${fileName} == "website/docs/d/"* ]]; then echo ${fileName} docsPathKey="website/docs/r" - if [[ $fileName =~ "data_source_" || $fileName =~ "website/docs/d/" ]]; then + if [[ $fileName =~ "data_source_alicloud" || $fileName =~ "website/docs/d/" ]]; then docsPathKey="website/docs/d" fi diff --git a/ci/tasks/docs-example.sh b/ci/tasks/docs-example.sh index 83996014c8a5..af9caa066cb9 100755 --- a/ci/tasks/docs-example.sh +++ b/ci/tasks/docs-example.sh @@ -71,7 +71,7 @@ for fileName in ${changeFiles[@]}; do fi if [[ ${fileName} == "alicloud/resource_alicloud"* || ${fileName} == "alicloud/data_source_alicloud"* || ${fileName} == "website/docs/r/"* || ${fileName} == "website/docs/d/"* ]]; then docsPathKey="website/docs/r" - if [[ $fileName =~ "data_source_" || $fileName =~ "website/docs/d/" ]]; then + if [[ $fileName =~ "data_source_alicloud" || $fileName =~ "website/docs/d/" ]]; then docsPathKey="website/docs/d" fi @@ -163,7 +163,7 @@ allExample["init"]=1 for fileName in ${changeFiles[@]}; do if [[ ${fileName} == "alicloud/resource_alicloud"* || ${fileName} == "alicloud/data_source_alicloud"* || ${fileName} == "website/docs/r/"* || ${fileName} == "website/docs/d/"* ]]; then docsPathKey="website/docs/r" - if [[ $fileName =~ "data_source_" || $fileName =~ "website/docs/d/" ]]; then + if [[ $fileName =~ "data_source_alicloud" || $fileName =~ "website/docs/d/" ]]; then docsPathKey="website/docs/d" fi diff --git a/website/docs/r/data_works_data_source_shared_rule.html.markdown b/website/docs/r/data_works_data_source_shared_rule.html.markdown index 6ecc043555f5..37a88c9e6329 100644 --- a/website/docs/r/data_works_data_source_shared_rule.html.markdown +++ b/website/docs/r/data_works_data_source_shared_rule.html.markdown @@ -43,14 +43,17 @@ resource "random_integer" "randint" { data "alicloud_resource_manager_resource_groups" "default" {} resource "alicloud_data_works_project" "defaultQeRfvU" { - status = "Available" - description = "tf_desc" - project_name = "${var.name}${random_integer.randint.id}" - pai_task_enabled = "false" - display_name = "tf_new_api_display" - dev_role_disabled = "true" - dev_environment_enabled = "false" - resource_group_id = data.alicloud_resource_manager_resource_groups.default.ids.0 + description = "源项目" + project_name = var.name + display_name = "shared_source2" + pai_task_enabled = true +} + +resource "alicloud_data_works_project" "defaultasjsH5" { + description = "目标空间" + project_name = format("%s1", var.name) + display_name = "shared_target2" + pai_task_enabled = true } resource "alicloud_data_works_data_source" "defaultvzu0wG" { diff --git a/website/docs/r/data_works_project_member.html.markdown b/website/docs/r/data_works_project_member.html.markdown index d378696cfee6..f82c930ef6b5 100644 --- a/website/docs/r/data_works_project_member.html.markdown +++ b/website/docs/r/data_works_project_member.html.markdown @@ -64,7 +64,7 @@ resource "alicloud_data_works_project" "defaultQeRfvU" { resource "alicloud_data_works_project_member" "default" { user_id = alicloud_ram_user.defaultKCTrB2.id - project_id = alicloud_data_works_project.defaultCoMnk8.id + project_id = alicloud_data_works_project.defaultQeRfvU.id roles { code = var.admin_code }