GoogleCloudPlatform / GoogleCloudPlatform/deploymentmanager-samples

SQL instance is being created in DM project

Open
#299 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jinja
Stars
951
Forks
700
PR merge metrics
No merged PRs in 30d

Description

I'm trying to deploy the project environment through Deployment Manager.

In my deploy configuration, I create a project, enable a few apis, create sql instances, and so on.

In creating SQL instances step, new sql instance is created in DM project, not newly created project.

Although I added "PROJECT" property in "sqladmin.v1beta4.instance", it keeps happening.

the followings are the my configuration for the deployment.
```
type : sqladmin.v1beta4.instance
backendType : SECOND_GEN
databaseVersion :MYSQL_5_7
failoverReplica
available: true
name: test-nutrition-kor-001-2
instanceType: CLOUD_SQL_INSTANCE
project: test-nutrition-kor-001
region: asia-northeast1
settings
activationPolicy: ALWAYS
backupConfiguration:
binaryLogEnabled: true
enabled: true
startTime: 00:00
dataDiskSizeGb: 10.0
dataDiskType: PD_SSD
locationPreference:
zone: null
storageAutoResize: true
tier: db-n1-standard-1
```

Anybody has the idea on how to explicitly select the project which contains the newly created project?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.