Loading...
Loading...
Processes GCP infrastructure design and deployment workflows within Application Design Center (ADC). Use when: - Designing GCP infrastructure with Terraform. - Validating local HCL. - Performing best-practice plan scans. - Importing templates to Application Design Center (ADC). - Deploying templates. - Troubleshooting deployment failures. Boundaries: - Only use for GCP-specific cloud infrastructure. - Only use for Terraform coding within the ADC context.
npx skill4agent add google/skills application-design-center-design-deploydesign_infraus-central1gcloud config set project <project_id>designdesigndesignterraform initvalidateplandesignscratch/tf_validate_<session_id>/designterraform.tfvarsbackend "gcs" {}terraform plan -out=tfplan && terraform show -json tfplan > tfplan.jsontfplan.jsongcloud design-center spaces list --project=<project_id> --location=<location>test-deploygooglespacegcloud design-center spaces create <space_id> --project=<project_id> --location=<location>tfplan.jsongcloud design-center spaces generate-terraform-assessment-report <space_id> \
--location=<location> \
--project=<project_id> \
--terraform-plan="<scratch_directory_path>/tfplan.json" \
--format=jsonterraform validate && terraform plan -out=tfplan && terraform show -json tfplan > tfplan.jsongcloud design-center spaces application-templates describe <template_id> --space=<space_id> --project=<project_id> --location=<location>NOT_FOUNDgcloud design-center spaces application-templates create <template_id> --space=<space_id> --project=<project_id> --location=<location> --display-name="<Name>" --description="<Description>"resourcemodulevariableoutputproviderprivate_service_access_configmodule "vpc"subnet_private_access = "true"trueterraform {}providers.tfmain.tfapplication_design_center:manage_application_templateAPPLICATION_TEMPLATE_OPERATION_IMPORT_IACprojectlocationus-central1spaceIdapplicationTemplateIdoperationAPPLICATION_TEMPLATE_OPERATION_IMPORT_IACiacModule{
"files": [
{ "name": "main.tf", "content": "<content of main.tf>" },
{ "name": "variables.tf", "content": "<content of variables.tf>" },
{ "name": "terraform.tfvars", "content": "<content of terraform.tfvars>" }
]
}IMPORT_IAC502 Bad Gateway504 Gateway Timeout429 Rate Limitgcloud alpha design-center spaces application-templates describeapplicationTemplateUriprojects/{project}/locations/{location}/spaces/{spaceId}/applicationTemplates/{applicationTemplateId}application_design_center:manage_applicationAPPLICATION_OPERATION_DEPLOYprojectlocationspaceIdapplicationIdapplicationTemplateUriserviceAccountDEPLOY502504gcloud design-center spaces applications describedone: truegcloud design-center operations describe <operation_name>donetrueerrorerrorREVISION_FAILEDTERRAFORMalreadyExistsfrontend-service-us-central-sacreate_service_account = false
service_account = "<existing_service_account_email>"us-docker.pkg.dev/cloudrun/container/helloinfra-deployment-debuggingterraform validate && terraform plan -out=tfplan && terraform show -json tfplan > tfplan.jsonAPPLICATION_TEMPLATE_OPERATION_IMPORT_IACAPPLICATION_OPERATION_DEPLOYapplication_design_center:manage_applicationAPPLICATION_OPERATION_GET