Skip to content

Commit

Permalink
Revert "Revert "Adds Cloud Run Job to mmv1 config and provider (Googl…
Browse files Browse the repository at this point in the history
  • Loading branch information
yanweiguo authored and betsy-lichtenberg committed Apr 25, 2022
1 parent 66feadf commit c68c176
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions mmv1/third_party/terraform/utils/config.go.erb
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ type Config struct {
ApikeysBasePath string
<% if version == 'private' -%>
VmwareBasePath string
RunBasePath string
<% end -%>
// CloudBuild WorkerPool uses a different endpoint (v1beta1) than any other CloudBuild resources
CloudBuildWorkerPoolBasePath string
Expand Down
10 changes: 6 additions & 4 deletions mmv1/third_party/terraform/utils/provider.go.erb
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,16 @@ func Provider() *schema.Provider {
OrgPolicyEndpointEntryKey: OrgPolicyEndpointEntry,
PrivatecaCertificateTemplateEndpointEntryKey: PrivatecaCertificateTemplateCustomEndpointEntry,
RecaptchaEnterpriseEndpointEntryKey: RecaptchaEnterpriseEndpointEntry,
ContainerAwsCustomEndpointEntryKey: ContainerAwsCustomEndpointEntry,
ContainerAzureCustomEndpointEntryKey: ContainerAzureCustomEndpointEntry,
ApikeysEndpointEntryKey: ApikeysEndpointEntry,
ContainerAwsCustomEndpointEntryKey: ContainerAwsCustomEndpointEntry,
ContainerAzureCustomEndpointEntryKey: ContainerAzureCustomEndpointEntry,
ApikeysEndpointEntryKey: ApikeysEndpointEntry,

<% if version == "private" -%>
VmwareEndpointEntryKey: VmwareEndpointEntry,
RunEndpointEntryKey: RunEndpointEntry,
<% end -%>

CloudBuildWorkerPoolEndpointEntryKey: CloudBuildWorkerPoolEndpointEntry,
CloudBuildWorkerPoolEndpointEntryKey: CloudBuildWorkerPoolEndpointEntry,
},

ProviderMetaSchema: map[string]*schema.Schema{
Expand Down Expand Up @@ -508,6 +509,7 @@ end # products.each do
<% if version == 'private' -%>
"google_vmware_private_cloud": resourceVmwarePrivateCloud(),
"google_vmware_cluster": resourceVmwareCluster(),
"google_cloud_run_job": resourceRunJob(),
<% end -%>
// ####### END tpgtools resources ###########
},
Expand Down

0 comments on commit c68c176

Please sign in to comment.