-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconst.go
More file actions
28 lines (22 loc) · 839 Bytes
/
const.go
File metadata and controls
28 lines (22 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package iac
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
const (
OrgId = "1052569693362"
BillingAccount = "01FD1D-5CA95C-CA4195"
GlobalProjectId = "taehoio-global"
StagingProjectId = "taehoio-staging"
ProductionProjectId = "taehoio-production"
TokyoLocation = "asia-northeast1"
DockerRegistryBasePath = "asia-northeast1-docker.pkg.dev/taehoio-global/docker-registry/"
)
func NewProject(ctx *pulumi.Context, projectId, projectName string) (*organizations.Project, error) {
return organizations.NewProject(ctx, projectName, &organizations.ProjectArgs{
AutoCreateNetwork: pulumi.Bool(true),
BillingAccount: pulumi.String(BillingAccount),
OrgId: pulumi.String(OrgId),
ProjectId: pulumi.String(projectId),
})
}