Skip to content

Commit

Permalink
Migrate certificate template to mmv1 (#10527) (hashicorp#7409)
Browse files Browse the repository at this point in the history
[upstream:46c39dc960b4268bcb4912b0242d0f1769dab0df]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored May 22, 2024
1 parent ff66176 commit 1287df7
Show file tree
Hide file tree
Showing 75 changed files with 3,061 additions and 1,441 deletions.
2 changes: 0 additions & 2 deletions google-beta/provider/provider_dcl_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import (
"github.com/hashicorp/terraform-provider-google-beta/google-beta/services/gkehub"
"github.com/hashicorp/terraform-provider-google-beta/google-beta/services/networkconnectivity"
"github.com/hashicorp/terraform-provider-google-beta/google-beta/services/orgpolicy"
"github.com/hashicorp/terraform-provider-google-beta/google-beta/services/privateca"
"github.com/hashicorp/terraform-provider-google-beta/google-beta/services/recaptchaenterprise"
)

Expand Down Expand Up @@ -71,6 +70,5 @@ var dclResources = map[string]*schema.Resource{
"google_network_connectivity_hub": networkconnectivity.ResourceNetworkConnectivityHub(),
"google_network_connectivity_spoke": networkconnectivity.ResourceNetworkConnectivitySpoke(),
"google_org_policy_policy": orgpolicy.ResourceOrgPolicyPolicy(),
"google_privateca_certificate_template": privateca.ResourcePrivatecaCertificateTemplate(),
"google_recaptcha_enterprise_key": recaptchaenterprise.ResourceRecaptchaEnterpriseKey(),
}
5 changes: 3 additions & 2 deletions google-beta/provider/provider_mmv1_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,9 @@ var handwrittenIAMDatasources = map[string]*schema.Resource{
}

// Resources
// Generated resources: 471
// Generated resources: 472
// Generated IAM resources: 273
// Total generated resources: 744
// Total generated resources: 745
var generatedResources = map[string]*schema.Resource{
"google_folder_access_approval_settings": accessapproval.ResourceAccessApprovalFolderSettings(),
"google_organization_access_approval_settings": accessapproval.ResourceAccessApprovalOrganizationSettings(),
Expand Down Expand Up @@ -1068,6 +1068,7 @@ var generatedResources = map[string]*schema.Resource{
"google_privateca_ca_pool_iam_policy": tpgiamresource.ResourceIamPolicy(privateca.PrivatecaCaPoolIamSchema, privateca.PrivatecaCaPoolIamUpdaterProducer, privateca.PrivatecaCaPoolIdParseFunc),
"google_privateca_certificate": privateca.ResourcePrivatecaCertificate(),
"google_privateca_certificate_authority": privateca.ResourcePrivatecaCertificateAuthority(),
"google_privateca_certificate_template": privateca.ResourcePrivatecaCertificateTemplate(),
"google_privateca_certificate_template_iam_binding": tpgiamresource.ResourceIamBinding(privateca.PrivatecaCertificateTemplateIamSchema, privateca.PrivatecaCertificateTemplateIamUpdaterProducer, privateca.PrivatecaCertificateTemplateIdParseFunc),
"google_privateca_certificate_template_iam_member": tpgiamresource.ResourceIamMember(privateca.PrivatecaCertificateTemplateIamSchema, privateca.PrivatecaCertificateTemplateIamUpdaterProducer, privateca.PrivatecaCertificateTemplateIdParseFunc),
"google_privateca_certificate_template_iam_policy": tpgiamresource.ResourceIamPolicy(privateca.PrivatecaCertificateTemplateIamSchema, privateca.PrivatecaCertificateTemplateIamUpdaterProducer, privateca.PrivatecaCertificateTemplateIdParseFunc),
Expand Down
Loading

0 comments on commit 1287df7

Please sign in to comment.