Skip to content

Commit

Permalink
✨ add more gcp resource defaults
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Richter <[email protected]>
  • Loading branch information
arlimus committed Sep 19, 2023
1 parent fc5c872 commit f49407f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions providers/gcp/resources/gcp.lr
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,7 @@ private gcp.project.gkeService.cluster.ipAllocationPolicy {
}

// GKE Cluster Network Config
private gcp.project.gkeService.cluster.networkConfig {
private gcp.project.gkeService.cluster.networkConfig @defaults("networkPath") {
// Internal ID
id string
// Relative path of the network to which the cluster is connected
Expand Down Expand Up @@ -1890,7 +1890,7 @@ private gcp.project.kmsService.keyring @defaults("name") {
}

// GCP KMS crypto key
private gcp.project.kmsService.keyring.cryptokey @defaults("name purpose"){
private gcp.project.kmsService.keyring.cryptokey @defaults("name purpose") {
// Full resource path
resourcePath string
// Crypto key name
Expand Down Expand Up @@ -2082,7 +2082,7 @@ private gcp.project.loggingservice.bucket @defaults("name") {
}

// GCP Logging bucket index config
private gcp.project.loggingservice.bucket.indexConfig {
private gcp.project.loggingservice.bucket.indexConfig @defaults("id") {
// Internal ID
id string
// Creation timestamp
Expand All @@ -2108,7 +2108,7 @@ private gcp.project.loggingservice.metric @defaults("description filter") {
}

// GCP Logging sink
private gcp.project.loggingservice.sink {
private gcp.project.loggingservice.sink @defaults("destination") {
// Sink ID
id string
// Project ID
Expand All @@ -2134,7 +2134,7 @@ private gcp.project.iamService {
}

// GCP Service Account
private gcp.project.iamService.serviceAccount {
private gcp.project.iamService.serviceAccount @defaults("displayName name") {
// Project ID
projectId string
// Service account name
Expand All @@ -2156,7 +2156,7 @@ private gcp.project.iamService.serviceAccount {
}

// GCP service account keys
private gcp.project.iamService.serviceAccount.key {
private gcp.project.iamService.serviceAccount.key @defaults("name") {
// Service account key name
name string
// Algorithm (and possibly key size) of the key
Expand All @@ -2173,7 +2173,7 @@ private gcp.project.iamService.serviceAccount.key {
disabled bool
}
// GCP Cloud Function
private gcp.project.cloudFunction {
private gcp.project.cloudFunction @defaults("name") {
// Project ID
projectId string
// Cloud Function name
Expand Down

0 comments on commit f49407f

Please sign in to comment.