-
Notifications
You must be signed in to change notification settings - Fork 286
feat: Add TF samples for creating a Looker (Google Cloud core) Enterprise instance that uses PSC #871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add TF samples for creating a Looker (Google Cloud core) Enterprise instance that uses PSC #871
Changes from 6 commits
5e5c405
e77771f
809722e
fdadfbc
2eff45e
71ca799
c50a784
66bdeb9
5c2320e
abf30c4
26ae713
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| /** | ||
| * Copyright 2025 Google LLC | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
| # [START looker_google_looker_instance_psc] | ||
| # Create an ENTERPRISE edition Looker (Google Cloud core) instance that has PSC enabled. | ||
| resource "google_looker_instance" "default" { | ||
| name = "my-instance" | ||
| platform_edition = "LOOKER_CORE_ENTERPRISE_ANNUAL" | ||
| region = "us-central1" | ||
| private_ip_enabled = false | ||
| public_ip_enabled = false | ||
| psc_enabled = true | ||
| oauth_config { | ||
| client_id = "my-client-id" | ||
| client_secret = "my-client-secret" | ||
| } | ||
| psc_config { | ||
| allowed_vpcs = ["projects/test-project/global/networks/test"] | ||
|
||
| # (Optional) List of VPCs that are allowed ingress into the Looker instance. | ||
| service_attachments = [{local_fqdn: "www.local-fqdn.com" target_service_attachment_uri: "projects/my-project/regions/us-east1/serviceAttachments/sa"}] | ||
|
||
| # (Optional) List of egress service attachment configurations. local_fqdn is a fully qualified domain name that will be used in the private DNS record created for the service attachment. target_service_attachment_uri is the URI of the service attachment to connect to. | ||
| } | ||
glasnt marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| } | ||
| # [END looker_google_looker_instance_psc] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # Copyright 2025 Google LLC | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| apiVersion: blueprints.cloud.google.com/v1alpha1 | ||
| kind: BlueprintTest | ||
| metadata: | ||
| name: looker_instance_psc | ||
glasnt marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| spec: | ||
| skip: true | ||
Uh oh!
There was an error while loading. Please reload this page.