Skip to content

Commit

Permalink
Keystores aliases key cert file (#7518) (#14130)
Browse files Browse the repository at this point in the history
* add apigee keystores aliases keystorefile provider

* add doc

* update doc

* update linted files

* Update resource_apigee_keystores_aliases_key_cert_file.go

make password and key sensitive field

---------

Signed-off-by: Modular Magician <magic-modules@google.com>
Co-authored-by: Ray Xu <xrc@google.com>
  • Loading branch information
modular-magician and Ray Xu committed Mar 28, 2023
1 parent 549e224 commit 3b826ad
Show file tree
Hide file tree
Showing 9 changed files with 1,354 additions and 76 deletions.
3 changes: 3 additions & 0 deletions .changelog/7518.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:new-resource
Apigee: added resource `apigeeKeystoresAliasesKeyCertFile`
```
153 changes: 77 additions & 76 deletions google/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -1171,82 +1171,83 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
},
map[string]*schema.Resource{
// ####### START handwritten resources ###########
"google_app_engine_application": ResourceAppEngineApplication(),
"google_apigee_sharedflow": ResourceApigeeSharedFlow(),
"google_apigee_sharedflow_deployment": ResourceApigeeSharedFlowDeployment(),
"google_apigee_flowhook": ResourceApigeeFlowhook(),
"google_bigquery_table": ResourceBigQueryTable(),
"google_bigtable_gc_policy": ResourceBigtableGCPolicy(),
"google_bigtable_instance": ResourceBigtableInstance(),
"google_bigtable_table": ResourceBigtableTable(),
"google_billing_subaccount": ResourceBillingSubaccount(),
"google_cloudfunctions_function": ResourceCloudFunctionsFunction(),
"google_composer_environment": ResourceComposerEnvironment(),
"google_compute_attached_disk": ResourceComputeAttachedDisk(),
"google_compute_instance": ResourceComputeInstance(),
"google_compute_instance_from_template": ResourceComputeInstanceFromTemplate(),
"google_compute_instance_group": ResourceComputeInstanceGroup(),
"google_compute_instance_group_manager": ResourceComputeInstanceGroupManager(),
"google_compute_instance_template": ResourceComputeInstanceTemplate(),
"google_compute_network_peering": ResourceComputeNetworkPeering(),
"google_compute_project_default_network_tier": ResourceComputeProjectDefaultNetworkTier(),
"google_compute_project_metadata": ResourceComputeProjectMetadata(),
"google_compute_project_metadata_item": ResourceComputeProjectMetadataItem(),
"google_compute_region_instance_group_manager": ResourceComputeRegionInstanceGroupManager(),
"google_compute_region_instance_template": ResourceComputeRegionInstanceTemplate(),
"google_compute_router_interface": ResourceComputeRouterInterface(),
"google_compute_security_policy": ResourceComputeSecurityPolicy(),
"google_compute_shared_vpc_host_project": ResourceComputeSharedVpcHostProject(),
"google_compute_shared_vpc_service_project": ResourceComputeSharedVpcServiceProject(),
"google_compute_target_pool": ResourceComputeTargetPool(),
"google_container_cluster": ResourceContainerCluster(),
"google_container_node_pool": ResourceContainerNodePool(),
"google_container_registry": ResourceContainerRegistry(),
"google_dataflow_job": ResourceDataflowJob(),
"google_dataproc_cluster": ResourceDataprocCluster(),
"google_dataproc_job": ResourceDataprocJob(),
"google_dialogflow_cx_version": ResourceDialogflowCXVersion(),
"google_dialogflow_cx_environment": ResourceDialogflowCXEnvironment(),
"google_dns_record_set": ResourceDnsRecordSet(),
"google_endpoints_service": ResourceEndpointsService(),
"google_folder": ResourceGoogleFolder(),
"google_folder_organization_policy": ResourceGoogleFolderOrganizationPolicy(),
"google_logging_billing_account_sink": ResourceLoggingBillingAccountSink(),
"google_logging_billing_account_exclusion": ResourceLoggingExclusion(BillingAccountLoggingExclusionSchema, NewBillingAccountLoggingExclusionUpdater, BillingAccountLoggingExclusionIdParseFunc),
"google_logging_billing_account_bucket_config": ResourceLoggingBillingAccountBucketConfig(),
"google_logging_organization_sink": ResourceLoggingOrganizationSink(),
"google_logging_organization_exclusion": ResourceLoggingExclusion(OrganizationLoggingExclusionSchema, NewOrganizationLoggingExclusionUpdater, OrganizationLoggingExclusionIdParseFunc),
"google_logging_organization_bucket_config": ResourceLoggingOrganizationBucketConfig(),
"google_logging_folder_sink": ResourceLoggingFolderSink(),
"google_logging_folder_exclusion": ResourceLoggingExclusion(FolderLoggingExclusionSchema, NewFolderLoggingExclusionUpdater, FolderLoggingExclusionIdParseFunc),
"google_logging_folder_bucket_config": ResourceLoggingFolderBucketConfig(),
"google_logging_project_sink": ResourceLoggingProjectSink(),
"google_logging_project_exclusion": ResourceLoggingExclusion(ProjectLoggingExclusionSchema, NewProjectLoggingExclusionUpdater, ProjectLoggingExclusionIdParseFunc),
"google_logging_project_bucket_config": ResourceLoggingProjectBucketConfig(),
"google_monitoring_dashboard": ResourceMonitoringDashboard(),
"google_service_networking_connection": ResourceServiceNetworkingConnection(),
"google_sql_database_instance": ResourceSqlDatabaseInstance(),
"google_sql_ssl_cert": ResourceSqlSslCert(),
"google_sql_user": ResourceSqlUser(),
"google_organization_iam_custom_role": ResourceGoogleOrganizationIamCustomRole(),
"google_organization_policy": ResourceGoogleOrganizationPolicy(),
"google_project": ResourceGoogleProject(),
"google_project_default_service_accounts": ResourceGoogleProjectDefaultServiceAccounts(),
"google_project_service": ResourceGoogleProjectService(),
"google_project_iam_custom_role": ResourceGoogleProjectIamCustomRole(),
"google_project_organization_policy": ResourceGoogleProjectOrganizationPolicy(),
"google_project_usage_export_bucket": ResourceProjectUsageBucket(),
"google_service_account": ResourceGoogleServiceAccount(),
"google_service_account_key": ResourceGoogleServiceAccountKey(),
"google_service_networking_peered_dns_domain": ResourceGoogleServiceNetworkingPeeredDNSDomain(),
"google_storage_bucket": ResourceStorageBucket(),
"google_storage_bucket_acl": ResourceStorageBucketAcl(),
"google_storage_bucket_object": ResourceStorageBucketObject(),
"google_storage_object_acl": ResourceStorageObjectAcl(),
"google_storage_default_object_acl": ResourceStorageDefaultObjectAcl(),
"google_storage_notification": ResourceStorageNotification(),
"google_storage_transfer_job": ResourceStorageTransferJob(),
"google_tags_location_tag_binding": ResourceTagsLocationTagBinding(),
"google_app_engine_application": ResourceAppEngineApplication(),
"google_apigee_sharedflow": ResourceApigeeSharedFlow(),
"google_apigee_sharedflow_deployment": ResourceApigeeSharedFlowDeployment(),
"google_apigee_flowhook": ResourceApigeeFlowhook(),
"google_apigee_keystores_aliases_key_cert_file": ResourceApigeeKeystoresAliasesKeyCertFile(),
"google_bigquery_table": ResourceBigQueryTable(),
"google_bigtable_gc_policy": ResourceBigtableGCPolicy(),
"google_bigtable_instance": ResourceBigtableInstance(),
"google_bigtable_table": ResourceBigtableTable(),
"google_billing_subaccount": ResourceBillingSubaccount(),
"google_cloudfunctions_function": ResourceCloudFunctionsFunction(),
"google_composer_environment": ResourceComposerEnvironment(),
"google_compute_attached_disk": ResourceComputeAttachedDisk(),
"google_compute_instance": ResourceComputeInstance(),
"google_compute_instance_from_template": ResourceComputeInstanceFromTemplate(),
"google_compute_instance_group": ResourceComputeInstanceGroup(),
"google_compute_instance_group_manager": ResourceComputeInstanceGroupManager(),
"google_compute_instance_template": ResourceComputeInstanceTemplate(),
"google_compute_network_peering": ResourceComputeNetworkPeering(),
"google_compute_project_default_network_tier": ResourceComputeProjectDefaultNetworkTier(),
"google_compute_project_metadata": ResourceComputeProjectMetadata(),
"google_compute_project_metadata_item": ResourceComputeProjectMetadataItem(),
"google_compute_region_instance_group_manager": ResourceComputeRegionInstanceGroupManager(),
"google_compute_region_instance_template": ResourceComputeRegionInstanceTemplate(),
"google_compute_router_interface": ResourceComputeRouterInterface(),
"google_compute_security_policy": ResourceComputeSecurityPolicy(),
"google_compute_shared_vpc_host_project": ResourceComputeSharedVpcHostProject(),
"google_compute_shared_vpc_service_project": ResourceComputeSharedVpcServiceProject(),
"google_compute_target_pool": ResourceComputeTargetPool(),
"google_container_cluster": ResourceContainerCluster(),
"google_container_node_pool": ResourceContainerNodePool(),
"google_container_registry": ResourceContainerRegistry(),
"google_dataflow_job": ResourceDataflowJob(),
"google_dataproc_cluster": ResourceDataprocCluster(),
"google_dataproc_job": ResourceDataprocJob(),
"google_dialogflow_cx_version": ResourceDialogflowCXVersion(),
"google_dialogflow_cx_environment": ResourceDialogflowCXEnvironment(),
"google_dns_record_set": ResourceDnsRecordSet(),
"google_endpoints_service": ResourceEndpointsService(),
"google_folder": ResourceGoogleFolder(),
"google_folder_organization_policy": ResourceGoogleFolderOrganizationPolicy(),
"google_logging_billing_account_sink": ResourceLoggingBillingAccountSink(),
"google_logging_billing_account_exclusion": ResourceLoggingExclusion(BillingAccountLoggingExclusionSchema, NewBillingAccountLoggingExclusionUpdater, BillingAccountLoggingExclusionIdParseFunc),
"google_logging_billing_account_bucket_config": ResourceLoggingBillingAccountBucketConfig(),
"google_logging_organization_sink": ResourceLoggingOrganizationSink(),
"google_logging_organization_exclusion": ResourceLoggingExclusion(OrganizationLoggingExclusionSchema, NewOrganizationLoggingExclusionUpdater, OrganizationLoggingExclusionIdParseFunc),
"google_logging_organization_bucket_config": ResourceLoggingOrganizationBucketConfig(),
"google_logging_folder_sink": ResourceLoggingFolderSink(),
"google_logging_folder_exclusion": ResourceLoggingExclusion(FolderLoggingExclusionSchema, NewFolderLoggingExclusionUpdater, FolderLoggingExclusionIdParseFunc),
"google_logging_folder_bucket_config": ResourceLoggingFolderBucketConfig(),
"google_logging_project_sink": ResourceLoggingProjectSink(),
"google_logging_project_exclusion": ResourceLoggingExclusion(ProjectLoggingExclusionSchema, NewProjectLoggingExclusionUpdater, ProjectLoggingExclusionIdParseFunc),
"google_logging_project_bucket_config": ResourceLoggingProjectBucketConfig(),
"google_monitoring_dashboard": ResourceMonitoringDashboard(),
"google_service_networking_connection": ResourceServiceNetworkingConnection(),
"google_sql_database_instance": ResourceSqlDatabaseInstance(),
"google_sql_ssl_cert": ResourceSqlSslCert(),
"google_sql_user": ResourceSqlUser(),
"google_organization_iam_custom_role": ResourceGoogleOrganizationIamCustomRole(),
"google_organization_policy": ResourceGoogleOrganizationPolicy(),
"google_project": ResourceGoogleProject(),
"google_project_default_service_accounts": ResourceGoogleProjectDefaultServiceAccounts(),
"google_project_service": ResourceGoogleProjectService(),
"google_project_iam_custom_role": ResourceGoogleProjectIamCustomRole(),
"google_project_organization_policy": ResourceGoogleProjectOrganizationPolicy(),
"google_project_usage_export_bucket": ResourceProjectUsageBucket(),
"google_service_account": ResourceGoogleServiceAccount(),
"google_service_account_key": ResourceGoogleServiceAccountKey(),
"google_service_networking_peered_dns_domain": ResourceGoogleServiceNetworkingPeeredDNSDomain(),
"google_storage_bucket": ResourceStorageBucket(),
"google_storage_bucket_acl": ResourceStorageBucketAcl(),
"google_storage_bucket_object": ResourceStorageBucketObject(),
"google_storage_object_acl": ResourceStorageObjectAcl(),
"google_storage_default_object_acl": ResourceStorageDefaultObjectAcl(),
"google_storage_notification": ResourceStorageNotification(),
"google_storage_transfer_job": ResourceStorageTransferJob(),
"google_tags_location_tag_binding": ResourceTagsLocationTagBinding(),
// ####### END handwritten resources ###########
},
map[string]*schema.Resource{
Expand Down
Loading

0 comments on commit 3b826ad

Please sign in to comment.