diff --git a/README.md b/README.md index 62dd384..b2790e2 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,9 @@ Currently, the tool supports the following providers: |Name|Version| |-|-| -|registry.terraform.io/hashicorp/aws|v4.15.1| +|registry.terraform.io/hashicorp/aws|v4.17.1| |registry.terraform.io/hashicorp/azurerm|v3.9.0| -|registry.terraform.io/hashicorp/google|v4.20.0| +|registry.terraform.io/hashicorp/google|v4.23.0| ## Limitation diff --git a/providers/aws/provider_gen.go b/providers/aws/provider_gen.go index 3292286..1137b89 100644 --- a/providers/aws/provider_gen.go +++ b/providers/aws/provider_gen.go @@ -518,6 +518,20 @@ func init() { } } }, + "aws_acmpca_policy": { + "block": { + "attributes": { + "policy": { + "type": "string", + "required": true + }, + "resource_arn": { + "type": "string", + "required": true + } + } + } + }, "aws_alb": { "block": { "attributes": { @@ -1671,6 +1685,10 @@ func init() { "optional": true, "computed": true }, + "tpm_support": { + "type": "string", + "optional": true + }, "usage_operation": { "type": "string", "computed": true @@ -1875,6 +1893,10 @@ func init() { "optional": true, "computed": true }, + "tpm_support": { + "type": "string", + "computed": true + }, "usage_operation": { "type": "string", "computed": true @@ -2060,6 +2082,10 @@ func init() { "optional": true, "computed": true }, + "tpm_support": { + "type": "string", + "computed": true + }, "usage_operation": { "type": "string", "computed": true @@ -12170,6 +12196,10 @@ func init() { "type": "bool", "optional": true }, + "context": { + "type": "string", + "optional": true + }, "default_cooldown": { "type": "number", "optional": true, @@ -12537,6 +12567,217 @@ func init() { } }, "block_types": { + "instance_requirements": { + "nesting_mode": 3, + "block": { + "attributes": { + "accelerator_manufacturers": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "accelerator_names": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "accelerator_types": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "bare_metal": { + "type": "string", + "optional": true + }, + "burstable_performance": { + "type": "string", + "optional": true + }, + "cpu_manufacturers": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "excluded_instance_types": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "instance_generations": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "local_storage": { + "type": "string", + "optional": true + }, + "local_storage_types": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "on_demand_max_price_percentage_over_lowest_price": { + "type": "number", + "optional": true + }, + "require_hibernate_support": { + "type": "bool", + "optional": true + }, + "spot_max_price_percentage_over_lowest_price": { + "type": "number", + "optional": true + } + }, + "block_types": { + "accelerator_count": { + "nesting_mode": 3, + "block": { + "attributes": { + "max": { + "type": "number", + "optional": true + }, + "min": { + "type": "number", + "optional": true + } + } + }, + "optional": true + }, + "accelerator_total_memory_mib": { + "nesting_mode": 3, + "block": { + "attributes": { + "max": { + "type": "number", + "optional": true + }, + "min": { + "type": "number", + "optional": true + } + } + }, + "optional": true + }, + "baseline_ebs_bandwidth_mbps": { + "nesting_mode": 3, + "block": { + "attributes": { + "max": { + "type": "number", + "optional": true + }, + "min": { + "type": "number", + "optional": true + } + } + }, + "optional": true + }, + "memory_gib_per_vcpu": { + "nesting_mode": 3, + "block": { + "attributes": { + "max": { + "type": "number", + "optional": true + }, + "min": { + "type": "number", + "optional": true + } + } + }, + "optional": true + }, + "memory_mib": { + "nesting_mode": 3, + "block": { + "attributes": { + "max": { + "type": "number", + "optional": true + }, + "min": { + "type": "number", + "optional": true + } + } + }, + "optional": true + }, + "network_interface_count": { + "nesting_mode": 3, + "block": { + "attributes": { + "max": { + "type": "number", + "optional": true + }, + "min": { + "type": "number", + "optional": true + } + } + }, + "optional": true + }, + "total_local_storage_gb": { + "nesting_mode": 3, + "block": { + "attributes": { + "max": { + "type": "number", + "optional": true + }, + "min": { + "type": "number", + "optional": true + } + } + }, + "optional": true + }, + "vcpu_count": { + "nesting_mode": 3, + "block": { + "attributes": { + "max": { + "type": "number", + "optional": true + }, + "min": { + "type": "number", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, "launch_template_specification": { "nesting_mode": 3, "block": { @@ -17668,7 +17909,8 @@ func init() { "at_least_one_of": [ "cors_config", "custom_headers_config", - "security_headers_config" + "security_headers_config", + "server_timing_headers_config" ] }, "custom_headers_config": { @@ -17701,7 +17943,8 @@ func init() { "at_least_one_of": [ "cors_config", "custom_headers_config", - "security_headers_config" + "security_headers_config", + "server_timing_headers_config" ] }, "security_headers_config": { @@ -17822,7 +18065,30 @@ func init() { "at_least_one_of": [ "cors_config", "custom_headers_config", - "security_headers_config" + "security_headers_config", + "server_timing_headers_config" + ] + }, + "server_timing_headers_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "enabled": { + "type": "bool", + "required": true + }, + "sampling_rate": { + "type": "number", + "required": true + } + } + }, + "optional": true, + "at_least_one_of": [ + "cors_config", + "custom_headers_config", + "security_headers_config", + "server_timing_headers_config" ] } } @@ -18023,6 +18289,10 @@ func init() { "optional": true, "default": false }, + "source_fields": { + "type": "string", + "optional": true + }, "type": { "type": "string", "required": true @@ -19828,6 +20098,39 @@ func init() { "conflicts_with": [ "exclude_filter" ] + }, + "statistics_configuration": { + "nesting_mode": 4, + "block": { + "attributes": { + "additional_statistics": { + "type": [ + "set", + "string" + ], + "required": true + } + }, + "block_types": { + "include_metric": { + "nesting_mode": 4, + "block": { + "attributes": { + "metric_name": { + "type": "string", + "required": true + }, + "namespace": { + "type": "string", + "required": true + } + } + }, + "required": true + } + } + }, + "optional": true } } } @@ -29327,6 +29630,36 @@ func init() { }, "optional": true }, + "redshift_settings": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_folder": { + "type": "string", + "optional": true + }, + "bucket_name": { + "type": "string", + "optional": true + }, + "encryption_mode": { + "type": "string", + "optional": true, + "default": "SSE_S3" + }, + "server_side_encryption_kms_key_id": { + "type": "string", + "optional": true + }, + "service_access_role_arn": { + "type": "string", + "optional": true + } + } + }, + "optional": true, + "computed": true + }, "s3_settings": { "nesting_mode": 3, "block": { @@ -35747,6 +36080,71 @@ func init() { } } }, + "aws_efs_replication_configuration": { + "block": { + "attributes": { + "creation_time": { + "type": "string", + "computed": true + }, + "original_source_file_system_arn": { + "type": "string", + "computed": true + }, + "source_file_system_arn": { + "type": "string", + "computed": true + }, + "source_file_system_id": { + "type": "string", + "required": true + }, + "source_file_system_region": { + "type": "string", + "computed": true + } + }, + "block_types": { + "destination": { + "nesting_mode": 3, + "block": { + "attributes": { + "availability_zone_name": { + "type": "string", + "optional": true, + "at_least_one_of": [ + "destination.0.availability_zone_name", + "destination.0.region" + ] + }, + "file_system_id": { + "type": "string", + "computed": true + }, + "kms_key_id": { + "type": "string", + "optional": true + }, + "region": { + "type": "string", + "optional": true, + "computed": true, + "at_least_one_of": [ + "destination.0.availability_zone_name", + "destination.0.region" + ] + }, + "status": { + "type": "string", + "computed": true + } + } + }, + "required": true + } + } + } + }, "aws_egress_only_internet_gateway": { "block": { "attributes": { @@ -37126,6 +37524,11 @@ func init() { "type": "string", "computed": true }, + "engine_version": { + "type": "string", + "optional": true, + "computed": true + }, "engine_version_actual": { "type": "string", "computed": true @@ -37142,6 +37545,10 @@ func init() { "type": "string", "required": true }, + "parameter_group_name": { + "type": "string", + "optional": true + }, "primary_replication_group_id": { "type": "string", "required": true @@ -44801,6 +45208,27 @@ func init() { "nesting_mode": 3, "block": { "block_types": { + "kubernetes": { + "nesting_mode": 3, + "block": { + "block_types": { + "audit_logs": { + "nesting_mode": 3, + "block": { + "attributes": { + "enable": { + "type": "bool", + "required": true + } + } + }, + "required": true + } + } + }, + "optional": true, + "computed": true + }, "s3_logs": { "nesting_mode": 3, "block": { @@ -57703,6 +58131,67 @@ func init() { } } }, + "aws_location_place_index": { + "block": { + "attributes": { + "create_time": { + "type": "string", + "computed": true + }, + "data_source": { + "type": "string", + "required": true + }, + "description": { + "type": "string", + "optional": true + }, + "index_arn": { + "type": "string", + "computed": true + }, + "index_name": { + "type": "string", + "required": true + }, + "tags": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "tags_all": { + "type": [ + "map", + "string" + ], + "optional": true, + "computed": true + }, + "update_time": { + "type": "string", + "computed": true + } + }, + "block_types": { + "data_source_configuration": { + "nesting_mode": 3, + "block": { + "attributes": { + "intended_use": { + "type": "string", + "optional": true, + "default": "SingleUse" + } + } + }, + "optional": true, + "computed": true + } + } + } + }, "aws_macie2_account": { "block": { "attributes": { @@ -60592,6 +61081,11 @@ func init() { "aws_neptune_cluster": { "block": { "attributes": { + "allow_major_version_upgrade": { + "type": "bool", + "optional": true, + "computed": true + }, "apply_immediately": { "type": "bool", "optional": true, @@ -68351,6 +68845,14 @@ func init() { "type": "string", "required": true }, + "permission_arns": { + "type": [ + "set", + "string" + ], + "optional": true, + "computed": true + }, "tags": { "type": [ "map", @@ -69194,6 +69696,20 @@ func init() { } } }, + "aws_redshift_authentication_profile": { + "block": { + "attributes": { + "authentication_profile_content": { + "type": "string", + "required": true + }, + "authentication_profile_name": { + "type": "string", + "required": true + } + } + } + }, "aws_redshift_cluster": { "block": { "attributes": { @@ -69202,6 +69718,16 @@ func init() { "optional": true, "default": true }, + "apply_immediately": { + "type": "bool", + "optional": true, + "default": false + }, + "aqua_configuration_status": { + "type": "string", + "optional": true, + "computed": true + }, "arn": { "type": "string", "computed": true @@ -69281,6 +69807,11 @@ func init() { "optional": true, "computed": true }, + "default_iam_role_arn": { + "type": "string", + "optional": true, + "computed": true + }, "dns_name": { "type": "string", "computed": true @@ -69321,6 +69852,16 @@ func init() { "optional": true, "computed": true }, + "maintenance_track_name": { + "type": "string", + "optional": true, + "default": "current" + }, + "manual_snapshot_retention_period": { + "type": "number", + "optional": true, + "default": -1 + }, "master_password": { "type": "string", "optional": true @@ -69408,6 +69949,17 @@ func init() { "type": "bool", "required": true }, + "log_destination_type": { + "type": "string", + "optional": true + }, + "log_exports": { + "type": [ + "set", + "string" + ], + "optional": true + }, "s3_key_prefix": { "type": "string", "optional": true, @@ -69441,6 +69993,93 @@ func init() { } } }, + "aws_redshift_cluster_iam_roles": { + "block": { + "attributes": { + "cluster_identifier": { + "type": "string", + "required": true + }, + "default_iam_role_arn": { + "type": "string", + "optional": true, + "computed": true + }, + "iam_role_arns": { + "type": [ + "set", + "string" + ], + "optional": true, + "computed": true + } + } + } + }, + "aws_redshift_endpoint_access": { + "block": { + "attributes": { + "address": { + "type": "string", + "computed": true + }, + "cluster_identifier": { + "type": "string", + "required": true + }, + "endpoint_name": { + "type": "string", + "required": true + }, + "port": { + "type": "number", + "computed": true + }, + "resource_owner": { + "type": "string", + "optional": true, + "computed": true + }, + "subnet_group_name": { + "type": "string", + "required": true + }, + "vpc_endpoint": { + "type": [ + "list", + [ + "object", + { + "network_interface": [ + "list", + [ + "object", + { + "availability_zone": "string", + "network_interface_id": "string", + "private_ip_address": "string", + "subnet_id": "string" + } + ] + ], + "vpc_endpoint_id": "string", + "vpc_id": "string" + } + ] + ], + "computed": true + }, + "vpc_security_group_ids": { + "type": [ + "set", + "string" + ], + "optional": true, + "computed": true + } + } + } + }, "aws_redshift_event_subscription": { "block": { "attributes": { @@ -69470,7 +70109,8 @@ func init() { }, "severity": { "type": "string", - "optional": true + "optional": true, + "default": "INFO" }, "sns_topic_arn": { "type": "string", @@ -69509,6 +70149,88 @@ func init() { } } }, + "aws_redshift_hsm_client_certificate": { + "block": { + "attributes": { + "arn": { + "type": "string", + "computed": true + }, + "hsm_client_certificate_identifier": { + "type": "string", + "required": true + }, + "hsm_client_certificate_public_key": { + "type": "string", + "computed": true + }, + "tags": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "tags_all": { + "type": [ + "map", + "string" + ], + "optional": true, + "computed": true + } + } + } + }, + "aws_redshift_hsm_configuration": { + "block": { + "attributes": { + "arn": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "required": true + }, + "hsm_configuration_identifier": { + "type": "string", + "required": true + }, + "hsm_ip_address": { + "type": "string", + "required": true + }, + "hsm_partition_name": { + "type": "string", + "required": true + }, + "hsm_partition_password": { + "type": "string", + "required": true + }, + "hsm_server_public_certificate": { + "type": "string", + "required": true + }, + "tags": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "tags_all": { + "type": [ + "map", + "string" + ], + "optional": true, + "computed": true + } + } + } + }, "aws_redshift_parameter_group": { "block": { "attributes": { @@ -69860,6 +70582,109 @@ func init() { } } }, + "aws_redshift_usage_limit": { + "block": { + "attributes": { + "amount": { + "type": "number", + "required": true + }, + "arn": { + "type": "string", + "computed": true + }, + "breach_action": { + "type": "string", + "optional": true, + "default": "log" + }, + "cluster_identifier": { + "type": "string", + "required": true + }, + "feature_type": { + "type": "string", + "required": true + }, + "limit_type": { + "type": "string", + "required": true + }, + "period": { + "type": "string", + "optional": true, + "default": "monthly" + }, + "tags": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "tags_all": { + "type": [ + "map", + "string" + ], + "optional": true, + "computed": true + } + } + } + }, + "aws_redshiftdata_statement": { + "block": { + "attributes": { + "cluster_identifier": { + "type": "string", + "required": true + }, + "database": { + "type": "string", + "required": true + }, + "db_user": { + "type": "string", + "optional": true + }, + "secret_arn": { + "type": "string", + "optional": true + }, + "sql": { + "type": "string", + "required": true + }, + "statement_name": { + "type": "string", + "optional": true + }, + "with_event": { + "type": "bool", + "optional": true + } + }, + "block_types": { + "parameters": { + "nesting_mode": 3, + "block": { + "attributes": { + "name": { + "type": "string", + "required": true + }, + "value": { + "type": "string", + "required": true + } + } + }, + "optional": true + } + } + } + }, "aws_resourcegroups_group": { "block": { "attributes": { @@ -133122,5 +133947,5 @@ func init() { fmt.Fprintf(os.Stderr, "unmarshalling the provider schema: %s", err) os.Exit(1) } - ProviderSchemaInfo.Version = "4.15.1" + ProviderSchemaInfo.Version = "4.17.1" } diff --git a/providers/google/provider_gen.go b/providers/google/provider_gen.go index 60d294a..3c6b0d2 100644 --- a/providers/google/provider_gen.go +++ b/providers/google/provider_gen.go @@ -3649,6 +3649,197 @@ func init() { } } }, + "google_bigquery_connection": { + "block": { + "attributes": { + "connection_id": { + "type": "string", + "optional": true, + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "friendly_name": { + "type": "string", + "optional": true + }, + "has_credential": { + "type": "bool", + "computed": true + }, + "location": { + "type": "string", + "optional": true + }, + "name": { + "type": "string", + "computed": true + }, + "project": { + "type": "string", + "optional": true, + "computed": true + } + }, + "block_types": { + "aws": { + "nesting_mode": 3, + "block": { + "block_types": { + "access_role": { + "nesting_mode": 3, + "block": { + "attributes": { + "iam_role_id": { + "type": "string", + "required": true + }, + "identity": { + "type": "string", + "computed": true + } + } + }, + "required": true + } + } + }, + "optional": true, + "exactly_one_of": [ + "cloud_sql", + "aws", + "azure", + "cloud_spanner", + "cloud_resource" + ] + }, + "azure": { + "nesting_mode": 3, + "block": { + "attributes": { + "application": { + "type": "string", + "computed": true + }, + "client_id": { + "type": "string", + "computed": true + }, + "customer_tenant_id": { + "type": "string", + "required": true + }, + "object_id": { + "type": "string", + "computed": true + }, + "redirect_uri": { + "type": "string", + "computed": true + } + } + }, + "optional": true, + "exactly_one_of": [ + "cloud_sql", + "aws", + "azure", + "cloud_spanner", + "cloud_resource" + ] + }, + "cloud_resource": { + "nesting_mode": 3, + "block": { + "attributes": { + "service_account_id": { + "type": "string", + "computed": true + } + } + }, + "optional": true, + "exactly_one_of": [ + "cloud_sql", + "aws", + "azure", + "cloud_spanner", + "cloud_resource" + ] + }, + "cloud_spanner": { + "nesting_mode": 3, + "block": { + "attributes": { + "database": { + "type": "string", + "required": true + }, + "use_parallelism": { + "type": "bool", + "optional": true + } + } + }, + "optional": true, + "exactly_one_of": [ + "cloud_sql", + "aws", + "azure", + "cloud_spanner", + "cloud_resource" + ] + }, + "cloud_sql": { + "nesting_mode": 3, + "block": { + "attributes": { + "database": { + "type": "string", + "required": true + }, + "instance_id": { + "type": "string", + "required": true + }, + "type": { + "type": "string", + "required": true + } + }, + "block_types": { + "credential": { + "nesting_mode": 3, + "block": { + "attributes": { + "password": { + "type": "string", + "required": true + }, + "username": { + "type": "string", + "required": true + } + } + }, + "required": true + } + } + }, + "optional": true, + "exactly_one_of": [ + "cloud_sql", + "aws", + "azure", + "cloud_spanner", + "cloud_resource" + ] + } + } + } + }, "google_bigquery_data_transfer_config": { "block": { "attributes": { @@ -6622,6 +6813,133 @@ func init() { } } }, + "google_certificate_manager_certificate": { + "block": { + "attributes": { + "description": { + "type": "string", + "optional": true + }, + "labels": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "name": { + "type": "string", + "required": true + }, + "project": { + "type": "string", + "optional": true, + "computed": true + }, + "scope": { + "type": "string", + "optional": true, + "default": "DEFAULT" + } + }, + "block_types": { + "managed": { + "nesting_mode": 3, + "block": { + "attributes": { + "dns_authorizations": { + "type": [ + "list", + "string" + ], + "optional": true + }, + "domains": { + "type": [ + "list", + "string" + ], + "optional": true + }, + "state": { + "type": "string", + "computed": true + } + } + }, + "optional": true, + "exactly_one_of": [ + "self_managed", + "managed" + ] + }, + "self_managed": { + "nesting_mode": 3, + "block": { + "attributes": { + "certificate_pem": { + "type": "string", + "required": true + }, + "private_key_pem": { + "type": "string", + "required": true + } + } + }, + "optional": true, + "exactly_one_of": [ + "self_managed", + "managed" + ] + } + } + } + }, + "google_certificate_manager_dns_authorization": { + "block": { + "attributes": { + "description": { + "type": "string", + "optional": true + }, + "dns_resource_record": { + "type": [ + "list", + [ + "object", + { + "data": "string", + "name": "string", + "type": "string" + } + ] + ], + "computed": true + }, + "domain": { + "type": "string", + "required": true + }, + "labels": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "name": { + "type": "string", + "required": true + }, + "project": { + "type": "string", + "optional": true, + "computed": true + } + } + } + }, "google_cloud_asset_folder_feed": { "block": { "attributes": { @@ -7581,6 +7899,14 @@ func init() { "revision_name": { "type": "string", "optional": true + }, + "tag": { + "type": "string", + "optional": true + }, + "url": { + "type": "string", + "computed": true } } }, @@ -8928,6 +9254,247 @@ func init() { } } }, + "google_clouddeploy_delivery_pipeline": { + "block": { + "attributes": { + "annotations": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "condition": { + "type": [ + "list", + [ + "object", + { + "pipeline_ready_condition": [ + "list", + [ + "object", + { + "status": "bool", + "update_time": "string" + } + ] + ], + "targets_present_condition": [ + "list", + [ + "object", + { + "missing_targets": [ + "list", + "string" + ], + "status": "bool", + "update_time": "string" + } + ] + ] + } + ] + ], + "computed": true + }, + "create_time": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "etag": { + "type": "string", + "computed": true + }, + "labels": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "location": { + "type": "string", + "required": true + }, + "name": { + "type": "string", + "required": true + }, + "project": { + "type": "string", + "optional": true, + "computed": true + }, + "uid": { + "type": "string", + "computed": true + }, + "update_time": { + "type": "string", + "computed": true + } + }, + "block_types": { + "serial_pipeline": { + "nesting_mode": 3, + "block": { + "block_types": { + "stages": { + "nesting_mode": 3, + "block": { + "attributes": { + "profiles": { + "type": [ + "list", + "string" + ], + "optional": true + }, + "target_id": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + } + } + } + }, + "google_clouddeploy_target": { + "block": { + "attributes": { + "annotations": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "create_time": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "etag": { + "type": "string", + "computed": true + }, + "labels": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "location": { + "type": "string", + "required": true + }, + "name": { + "type": "string", + "required": true + }, + "project": { + "type": "string", + "optional": true, + "computed": true + }, + "require_approval": { + "type": "bool", + "optional": true + }, + "target_id": { + "type": "string", + "computed": true + }, + "uid": { + "type": "string", + "computed": true + }, + "update_time": { + "type": "string", + "computed": true + } + }, + "block_types": { + "anthos_cluster": { + "nesting_mode": 3, + "block": { + "attributes": { + "membership": { + "type": "string", + "optional": true + } + } + }, + "optional": true, + "conflicts_with": [ + "gke" + ] + }, + "execution_configs": { + "nesting_mode": 3, + "block": { + "attributes": { + "artifact_storage": { + "type": "string", + "optional": true + }, + "service_account": { + "type": "string", + "optional": true + }, + "usages": { + "type": [ + "list", + "string" + ], + "required": true + }, + "worker_pool": { + "type": "string", + "optional": true + } + } + }, + "optional": true + }, + "gke": { + "nesting_mode": 3, + "block": { + "attributes": { + "cluster": { + "type": "string", + "optional": true + }, + "internal_ip": { + "type": "bool", + "optional": true + } + } + }, + "optional": true, + "conflicts_with": [ + "anthos_cluster" + ] + } + } + } + }, "google_cloudfunctions_function": { "block": { "attributes": { @@ -8947,6 +9514,15 @@ func init() { "type": "string", "optional": true }, + "docker_registry": { + "type": "string", + "optional": true, + "computed": true + }, + "docker_repository": { + "type": "string", + "optional": true + }, "entry_point": { "type": "string", "optional": true @@ -8958,6 +9534,11 @@ func init() { ], "optional": true }, + "https_trigger_security_level": { + "type": "string", + "optional": true, + "computed": true + }, "https_trigger_url": { "type": "string", "optional": true, @@ -8968,6 +9549,10 @@ func init() { "optional": true, "default": "ALLOW_ALL" }, + "kms_key_name": { + "type": "string", + "optional": true + }, "labels": { "type": [ "map", @@ -12198,6 +12783,26 @@ func init() { "type": "string", "optional": true } + }, + "block_types": { + "service_directory_registrations": { + "nesting_mode": 3, + "block": { + "attributes": { + "namespace": { + "type": "string", + "optional": true, + "computed": true + }, + "service": { + "type": "string", + "optional": true + } + } + }, + "optional": true, + "computed": true + } } } }, @@ -15108,6 +15713,10 @@ func init() { "type": "string", "required": true }, + "most_disruptive_allowed_action": { + "type": "string", + "optional": true + }, "replacement_method": { "type": "string", "optional": true @@ -18781,6 +19390,10 @@ func init() { "type": "string", "required": true }, + "most_disruptive_allowed_action": { + "type": "string", + "optional": true + }, "replacement_method": { "type": "string", "optional": true @@ -18852,6 +19465,10 @@ func init() { "optional": true, "computed": true }, + "psc_target_service": { + "type": "string", + "optional": true + }, "region": { "type": "string", "required": true @@ -18881,10 +19498,9 @@ func init() { } }, "optional": true, - "exactly_one_of": [ - "app_engine", - "cloud_function", - "cloud_run" + "conflicts_with": [ + "cloud_run", + "cloud_function" ] }, "cloud_function": { @@ -18910,10 +19526,9 @@ func init() { } }, "optional": true, - "exactly_one_of": [ - "app_engine", - "cloud_function", - "cloud_run" + "conflicts_with": [ + "cloud_run", + "app_engine" ] }, "cloud_run": { @@ -18943,10 +19558,9 @@ func init() { } }, "optional": true, - "exactly_one_of": [ - "cloud_run", - "cloud_function", - "app_engine" + "conflicts_with": [ + "app_engine", + "cloud_function" ] } } @@ -20915,6 +21529,11 @@ func init() { ], "optional": true }, + "enable_dynamic_port_allocation": { + "type": "bool", + "optional": true, + "default": false + }, "enable_endpoint_independent_mapping": { "type": "bool", "optional": true, @@ -21177,7 +21796,8 @@ func init() { }, "description": { "type": "string", - "optional": true + "optional": true, + "default": "" }, "preview": { "type": "bool", @@ -21196,7 +21816,8 @@ func init() { "attributes": { "versioned_expr": { "type": "string", - "optional": true + "optional": true, + "default": "" } }, "block_types": { @@ -21270,6 +21891,13 @@ func init() { "type": "string", "optional": true }, + "domain_names": { + "type": [ + "list", + "string" + ], + "optional": true + }, "enable_proxy_protocol": { "type": "bool", "required": true @@ -24942,6 +25570,22 @@ func init() { }, "required": true }, + "proxy_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "secret_arn": { + "type": "string", + "required": true + }, + "secret_version": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, "root_volume": { "nesting_mode": 3, "block": { @@ -25423,6 +26067,22 @@ func init() { } }, "block_types": { + "proxy_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "resource_group_id": { + "type": "string", + "required": true + }, + "secret_id": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, "root_volume": { "nesting_mode": 3, "block": { @@ -26013,6 +26673,20 @@ func init() { "type": "string", "required": true } + }, + "block_types": { + "exclusion_options": { + "nesting_mode": 3, + "block": { + "attributes": { + "scope": { + "type": "string", + "required": true + } + } + }, + "optional": true + } } }, "optional": true @@ -26623,7 +27297,8 @@ func init() { }, "master_ipv4_cidr_block": { "type": "string", - "optional": true + "optional": true, + "computed": true }, "peering_name": { "type": "string", @@ -29141,6 +29816,103 @@ func init() { } } }, + "google_dataplex_lake": { + "block": { + "attributes": { + "asset_status": { + "type": [ + "list", + [ + "object", + { + "active_assets": "number", + "security_policy_applying_assets": "number", + "update_time": "string" + } + ] + ], + "computed": true + }, + "create_time": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "display_name": { + "type": "string", + "optional": true + }, + "labels": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "location": { + "type": "string", + "required": true + }, + "metastore_status": { + "type": [ + "list", + [ + "object", + { + "endpoint": "string", + "message": "string", + "state": "string", + "update_time": "string" + } + ] + ], + "computed": true + }, + "name": { + "type": "string", + "required": true + }, + "project": { + "type": "string", + "optional": true, + "computed": true + }, + "service_account": { + "type": "string", + "computed": true + }, + "state": { + "type": "string", + "computed": true + }, + "uid": { + "type": "string", + "computed": true + }, + "update_time": { + "type": "string", + "computed": true + } + }, + "block_types": { + "metastore": { + "nesting_mode": 3, + "block": { + "attributes": { + "service": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + } + }, "google_dataproc_autoscaling_policy": { "block": { "attributes": { @@ -33968,7 +34740,11 @@ func init() { "list", "string" ], - "required": true + "optional": true, + "exactly_one_of": [ + "rrdatas", + "routing_policy" + ] }, "ttl": { "type": "number", @@ -33978,6 +34754,66 @@ func init() { "type": "string", "required": true } + }, + "block_types": { + "routing_policy": { + "nesting_mode": 3, + "block": { + "block_types": { + "geo": { + "nesting_mode": 3, + "block": { + "attributes": { + "location": { + "type": "string", + "required": true + }, + "rrdatas": { + "type": [ + "list", + "string" + ], + "required": true + } + } + }, + "optional": true, + "exactly_one_of": [ + "routing_policy.0.wrr", + "routing_policy.0.geo" + ] + }, + "wrr": { + "nesting_mode": 3, + "block": { + "attributes": { + "rrdatas": { + "type": [ + "list", + "string" + ], + "required": true + }, + "weight": { + "type": "number", + "required": true + } + } + }, + "optional": true, + "exactly_one_of": [ + "routing_policy.0.wrr", + "routing_policy.0.geo" + ] + } + } + }, + "optional": true, + "exactly_one_of": [ + "rrdatas", + "routing_policy" + ] + } } } }, @@ -39025,6 +39861,20 @@ func init() { ], "optional": true }, + "maintenance_schedule": { + "type": [ + "list", + [ + "object", + { + "end_time": "string", + "schedule_deadline_time": "string", + "start_time": "string" + } + ] + ], + "computed": true + }, "memcache_full_version": { "type": "string", "computed": true @@ -39078,6 +39928,70 @@ func init() { } }, "block_types": { + "maintenance_policy": { + "nesting_mode": 3, + "block": { + "attributes": { + "create_time": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "update_time": { + "type": "string", + "computed": true + } + }, + "block_types": { + "weekly_maintenance_window": { + "nesting_mode": 3, + "block": { + "attributes": { + "day": { + "type": "string", + "required": true + }, + "duration": { + "type": "string", + "required": true + } + }, + "block_types": { + "start_time": { + "nesting_mode": 3, + "block": { + "attributes": { + "hours": { + "type": "number", + "optional": true + }, + "minutes": { + "type": "number", + "optional": true + }, + "nanos": { + "type": "number", + "optional": true + }, + "seconds": { + "type": "number", + "optional": true + } + } + }, + "required": true + } + } + }, + "required": true + } + } + }, + "optional": true + }, "memcache_parameters": { "nesting_mode": 3, "block": { @@ -40293,6 +41207,11 @@ func init() { "google_monitoring_uptime_check_config": { "block": { "attributes": { + "checker_type": { + "type": "string", + "optional": true, + "computed": true + }, "display_name": { "type": "string", "required": true @@ -45963,6 +46882,10 @@ func init() { "optional": true, "default": true }, + "desired_state": { + "type": "string", + "optional": true + }, "gcs_bucket": { "type": "string", "optional": true @@ -49922,6 +50845,18 @@ func init() { } }, "block_types": { + "active_directory_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "domain": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, "backup_configuration": { "nesting_mode": 3, "block": { @@ -50803,7 +51738,7 @@ func init() { "content": { "type": "string", "optional": true, - "conflicts_with": [ + "exactly_one_of": [ "source" ] }, @@ -50875,7 +51810,7 @@ func init() { "source": { "type": "string", "optional": true, - "conflicts_with": [ + "exactly_one_of": [ "content" ] }, @@ -52132,5 +53067,5 @@ func init() { fmt.Fprintf(os.Stderr, "unmarshalling the provider schema: %s", err) os.Exit(1) } - ProviderSchemaInfo.Version = "4.20.0" + ProviderSchemaInfo.Version = "4.23.0" }