From 51759ea9f5ba0162530f2de1ff86a8f52b4d8958 Mon Sep 17 00:00:00 2001 From: magodo Date: Sat, 14 May 2022 10:10:43 +0800 Subject: [PATCH] Update provider schemas - aws -> v4.14.0 - azurerm -> v3.6.0 --- README.md | 4 +- providers/aws/provider_gen.go | 2609 ++++++++++++++++++++++++++++- providers/azurerm/provider_gen.go | 400 ++++- 3 files changed, 3005 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e12bc5c..a63fcff 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,8 @@ Currently, the tool supports the following providers: |Name|Version| |-|-| -|registry.terraform.io/hashicorp/aws|v4.13.0| -|registry.terraform.io/hashicorp/azurerm|v3.5.0| +|registry.terraform.io/hashicorp/aws|v4.14.0| +|registry.terraform.io/hashicorp/azurerm|v3.6.0| |registry.terraform.io/hashicorp/google|v4.20.0| ## Limitation diff --git a/providers/aws/provider_gen.go b/providers/aws/provider_gen.go index 696dc9a..2bc0ccc 100644 --- a/providers/aws/provider_gen.go +++ b/providers/aws/provider_gen.go @@ -5321,6 +5321,2015 @@ func init() { } } }, + "aws_appflow_connector_profile": { + "block": { + "attributes": { + "arn": { + "type": "string", + "computed": true + }, + "connection_mode": { + "type": "string", + "required": true + }, + "connector_label": { + "type": "string", + "optional": true + }, + "connector_type": { + "type": "string", + "required": true + }, + "credentials_arn": { + "type": "string", + "computed": true + }, + "kms_arn": { + "type": "string", + "optional": true, + "computed": true + }, + "name": { + "type": "string", + "required": true + } + }, + "block_types": { + "connector_profile_config": { + "nesting_mode": 3, + "block": { + "block_types": { + "connector_profile_credentials": { + "nesting_mode": 3, + "block": { + "block_types": { + "amplitude": { + "nesting_mode": 3, + "block": { + "attributes": { + "api_key": { + "type": "string", + "required": true + }, + "secret_key": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "custom_connector": { + "nesting_mode": 3, + "block": { + "attributes": { + "authentication_type": { + "type": "string", + "required": true + } + }, + "block_types": { + "api_key": { + "nesting_mode": 3, + "block": { + "attributes": { + "api_key": { + "type": "string", + "required": true + }, + "api_secret_key": { + "type": "string", + "optional": true + } + } + }, + "optional": true + }, + "basic": { + "nesting_mode": 3, + "block": { + "attributes": { + "password": { + "type": "string", + "required": true + }, + "username": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "custom": { + "nesting_mode": 3, + "block": { + "attributes": { + "credentials_map": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "custom_authentication_type": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "oauth2": { + "nesting_mode": 3, + "block": { + "attributes": { + "access_token": { + "type": "string", + "optional": true + }, + "client_id": { + "type": "string", + "optional": true + }, + "client_secret": { + "type": "string", + "optional": true + }, + "refresh_token": { + "type": "string", + "optional": true + } + }, + "block_types": { + "oauth_request": { + "nesting_mode": 3, + "block": { + "attributes": { + "auth_code": { + "type": "string", + "optional": true + }, + "redirect_uri": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "datadog": { + "nesting_mode": 3, + "block": { + "attributes": { + "api_key": { + "type": "string", + "required": true + }, + "application_key": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "dynatrace": { + "nesting_mode": 3, + "block": { + "attributes": { + "api_token": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "google_analytics": { + "nesting_mode": 3, + "block": { + "attributes": { + "access_token": { + "type": "string", + "optional": true + }, + "client_id": { + "type": "string", + "required": true + }, + "client_secret": { + "type": "string", + "required": true + }, + "refresh_token": { + "type": "string", + "optional": true + } + }, + "block_types": { + "oauth_request": { + "nesting_mode": 3, + "block": { + "attributes": { + "auth_code": { + "type": "string", + "optional": true + }, + "redirect_uri": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "honeycode": { + "nesting_mode": 3, + "block": { + "attributes": { + "access_token": { + "type": "string", + "optional": true + }, + "refresh_token": { + "type": "string", + "optional": true + } + }, + "block_types": { + "oauth_request": { + "nesting_mode": 3, + "block": { + "attributes": { + "auth_code": { + "type": "string", + "optional": true + }, + "redirect_uri": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "infor_nexus": { + "nesting_mode": 3, + "block": { + "attributes": { + "access_key_id": { + "type": "string", + "required": true + }, + "datakey": { + "type": "string", + "required": true + }, + "secret_access_key": { + "type": "string", + "required": true + }, + "user_id": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "marketo": { + "nesting_mode": 3, + "block": { + "attributes": { + "access_token": { + "type": "string", + "optional": true + }, + "client_id": { + "type": "string", + "required": true + }, + "client_secret": { + "type": "string", + "required": true + } + }, + "block_types": { + "oauth_request": { + "nesting_mode": 3, + "block": { + "attributes": { + "auth_code": { + "type": "string", + "optional": true + }, + "redirect_uri": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "redshift": { + "nesting_mode": 3, + "block": { + "attributes": { + "password": { + "type": "string", + "required": true + }, + "username": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "salesforce": { + "nesting_mode": 3, + "block": { + "attributes": { + "access_token": { + "type": "string", + "optional": true + }, + "client_credentials_arn": { + "type": "string", + "optional": true + }, + "refresh_token": { + "type": "string", + "optional": true + } + }, + "block_types": { + "oauth_request": { + "nesting_mode": 3, + "block": { + "attributes": { + "auth_code": { + "type": "string", + "optional": true + }, + "redirect_uri": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "sapo_data": { + "nesting_mode": 3, + "block": { + "block_types": { + "basic_auth_credentials": { + "nesting_mode": 3, + "block": { + "attributes": { + "password": { + "type": "string", + "required": true + }, + "username": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "oauth_credentials": { + "nesting_mode": 3, + "block": { + "attributes": { + "access_token": { + "type": "string", + "optional": true + }, + "client_id": { + "type": "string", + "required": true + }, + "client_secret": { + "type": "string", + "required": true + }, + "refresh_token": { + "type": "string", + "optional": true + } + }, + "block_types": { + "oauth_request": { + "nesting_mode": 3, + "block": { + "attributes": { + "auth_code": { + "type": "string", + "optional": true + }, + "redirect_uri": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "service_now": { + "nesting_mode": 3, + "block": { + "attributes": { + "password": { + "type": "string", + "required": true + }, + "username": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "singular": { + "nesting_mode": 3, + "block": { + "attributes": { + "api_key": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "slack": { + "nesting_mode": 3, + "block": { + "attributes": { + "access_token": { + "type": "string", + "optional": true + }, + "client_id": { + "type": "string", + "required": true + }, + "client_secret": { + "type": "string", + "required": true + } + }, + "block_types": { + "oauth_request": { + "nesting_mode": 3, + "block": { + "attributes": { + "auth_code": { + "type": "string", + "optional": true + }, + "redirect_uri": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "snowflake": { + "nesting_mode": 3, + "block": { + "attributes": { + "password": { + "type": "string", + "required": true + }, + "username": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "trendmicro": { + "nesting_mode": 3, + "block": { + "attributes": { + "api_secret_key": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "veeva": { + "nesting_mode": 3, + "block": { + "attributes": { + "password": { + "type": "string", + "required": true + }, + "username": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "zendesk": { + "nesting_mode": 3, + "block": { + "attributes": { + "access_token": { + "type": "string", + "optional": true + }, + "client_id": { + "type": "string", + "required": true + }, + "client_secret": { + "type": "string", + "required": true + } + }, + "block_types": { + "oauth_request": { + "nesting_mode": 3, + "block": { + "attributes": { + "auth_code": { + "type": "string", + "optional": true + }, + "redirect_uri": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + } + } + }, + "required": true + }, + "connector_profile_properties": { + "nesting_mode": 3, + "block": { + "block_types": { + "amplitude": { + "nesting_mode": 3, + "block": {}, + "optional": true + }, + "custom_connector": { + "nesting_mode": 3, + "block": { + "attributes": { + "profile_properties": { + "type": [ + "map", + "string" + ], + "optional": true + } + }, + "block_types": { + "oauth2_properties": { + "nesting_mode": 3, + "block": { + "attributes": { + "oauth2_grant_type": { + "type": "string", + "required": true + }, + "token_url": { + "type": "string", + "required": true + }, + "token_url_custom_properties": { + "type": [ + "map", + "string" + ], + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "datadog": { + "nesting_mode": 3, + "block": { + "attributes": { + "instance_url": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "dynatrace": { + "nesting_mode": 3, + "block": { + "attributes": { + "instance_url": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "google_analytics": { + "nesting_mode": 3, + "block": {}, + "optional": true + }, + "honeycode": { + "nesting_mode": 3, + "block": {}, + "optional": true + }, + "infor_nexus": { + "nesting_mode": 3, + "block": { + "attributes": { + "instance_url": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "marketo": { + "nesting_mode": 3, + "block": { + "attributes": { + "instance_url": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "redshift": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_name": { + "type": "string", + "required": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + }, + "database_url": { + "type": "string", + "optional": true + }, + "role_arn": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "salesforce": { + "nesting_mode": 3, + "block": { + "attributes": { + "instance_url": { + "type": "string", + "optional": true + }, + "is_sandbox_environment": { + "type": "bool", + "optional": true + } + } + }, + "optional": true + }, + "sapo_data": { + "nesting_mode": 3, + "block": { + "attributes": { + "application_host_url": { + "type": "string", + "required": true + }, + "application_service_path": { + "type": "string", + "required": true + }, + "client_number": { + "type": "string", + "required": true + }, + "logon_language": { + "type": "string", + "optional": true + }, + "port_number": { + "type": "number", + "required": true + }, + "private_link_service_name": { + "type": "string", + "optional": true + } + }, + "block_types": { + "oauth_properties": { + "nesting_mode": 3, + "block": { + "attributes": { + "auth_code_url": { + "type": "string", + "required": true + }, + "oauth_scopes": { + "type": [ + "list", + "string" + ], + "required": true + }, + "token_url": { + "type": "string", + "required": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "service_now": { + "nesting_mode": 3, + "block": { + "attributes": { + "instance_url": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "singular": { + "nesting_mode": 3, + "block": {}, + "optional": true + }, + "slack": { + "nesting_mode": 3, + "block": { + "attributes": { + "instance_url": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "snowflake": { + "nesting_mode": 3, + "block": { + "attributes": { + "account_name": { + "type": "string", + "optional": true + }, + "bucket_name": { + "type": "string", + "required": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + }, + "private_link_service_name": { + "type": "string", + "optional": true + }, + "region": { + "type": "string", + "optional": true + }, + "stage": { + "type": "string", + "required": true + }, + "warehouse": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "trendmicro": { + "nesting_mode": 3, + "block": {}, + "optional": true + }, + "veeva": { + "nesting_mode": 3, + "block": { + "attributes": { + "instance_url": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "zendesk": { + "nesting_mode": 3, + "block": { + "attributes": { + "instance_url": { + "type": "string", + "required": true + } + } + }, + "optional": true + } + } + }, + "required": true + } + } + }, + "required": true + } + } + } + }, + "aws_appflow_flow": { + "block": { + "attributes": { + "arn": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "kms_arn": { + "type": "string", + "optional": true, + "computed": true + }, + "name": { + "type": "string", + "required": true + }, + "tags": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "tags_all": { + "type": [ + "map", + "string" + ], + "optional": true, + "computed": true + } + }, + "block_types": { + "destination_flow_config": { + "nesting_mode": 4, + "block": { + "attributes": { + "api_version": { + "type": "string", + "optional": true + }, + "connector_profile_name": { + "type": "string", + "optional": true + }, + "connector_type": { + "type": "string", + "required": true + } + }, + "block_types": { + "destination_connector_properties": { + "nesting_mode": 3, + "block": { + "block_types": { + "custom_connector": { + "nesting_mode": 3, + "block": { + "attributes": { + "custom_properties": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "entity_name": { + "type": "string", + "required": true + }, + "id_field_names": { + "type": [ + "list", + "string" + ], + "optional": true + }, + "write_operation_type": { + "type": "string", + "optional": true + } + }, + "block_types": { + "error_handling_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_name": { + "type": "string", + "optional": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + }, + "fail_on_first_destination_error": { + "type": "bool", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "customer_profiles": { + "nesting_mode": 3, + "block": { + "attributes": { + "domain_name": { + "type": "string", + "required": true + }, + "object_type_name": { + "type": "string", + "optional": true + } + } + }, + "optional": true + }, + "event_bridge": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + }, + "block_types": { + "error_handling_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_name": { + "type": "string", + "optional": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + }, + "fail_on_first_destination_error": { + "type": "bool", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "honeycode": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + }, + "block_types": { + "error_handling_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_name": { + "type": "string", + "optional": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + }, + "fail_on_first_destination_error": { + "type": "bool", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "lookout_metrics": { + "nesting_mode": 3, + "block": {}, + "optional": true + }, + "marketo": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + }, + "block_types": { + "error_handling_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_name": { + "type": "string", + "optional": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + }, + "fail_on_first_destination_error": { + "type": "bool", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "redshift": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_prefix": { + "type": "string", + "optional": true + }, + "intermediate_bucket_name": { + "type": "string", + "required": true + }, + "object": { + "type": "string", + "required": true + } + }, + "block_types": { + "error_handling_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_name": { + "type": "string", + "optional": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + }, + "fail_on_first_destination_error": { + "type": "bool", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "s3": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_name": { + "type": "string", + "required": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + } + }, + "block_types": { + "s3_output_format_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "file_type": { + "type": "string", + "optional": true + } + }, + "block_types": { + "aggregation_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "aggregation_type": { + "type": "string", + "optional": true + } + } + }, + "optional": true + }, + "prefix_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "prefix_format": { + "type": "string", + "optional": true + }, + "prefix_type": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "salesforce": { + "nesting_mode": 3, + "block": { + "attributes": { + "id_field_names": { + "type": [ + "list", + "string" + ], + "optional": true + }, + "object": { + "type": "string", + "required": true + }, + "write_operation_type": { + "type": "string", + "optional": true + } + }, + "block_types": { + "error_handling_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_name": { + "type": "string", + "optional": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + }, + "fail_on_first_destination_error": { + "type": "bool", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "sapo_data": { + "nesting_mode": 3, + "block": { + "attributes": { + "id_field_names": { + "type": [ + "list", + "string" + ], + "optional": true + }, + "object_path": { + "type": "string", + "required": true + }, + "write_operation_type": { + "type": "string", + "optional": true + } + }, + "block_types": { + "error_handling_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_name": { + "type": "string", + "optional": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + }, + "fail_on_first_destination_error": { + "type": "bool", + "optional": true + } + } + }, + "optional": true + }, + "success_response_handling_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_name": { + "type": "string", + "optional": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "snowflake": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_prefix": { + "type": "string", + "optional": true + }, + "intermediate_bucket_name": { + "type": "string", + "required": true + }, + "object": { + "type": "string", + "required": true + } + }, + "block_types": { + "error_handling_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_name": { + "type": "string", + "optional": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + }, + "fail_on_first_destination_error": { + "type": "bool", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "upsolver": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_name": { + "type": "string", + "required": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + } + }, + "block_types": { + "s3_output_format_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "file_type": { + "type": "string", + "optional": true + } + }, + "block_types": { + "aggregation_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "aggregation_type": { + "type": "string", + "optional": true + } + } + }, + "optional": true + }, + "prefix_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "prefix_format": { + "type": "string", + "optional": true + }, + "prefix_type": { + "type": "string", + "required": true + } + } + }, + "required": true + } + } + }, + "required": true + } + } + }, + "optional": true + }, + "zendesk": { + "nesting_mode": 3, + "block": { + "attributes": { + "id_field_names": { + "type": [ + "list", + "string" + ], + "optional": true + }, + "object": { + "type": "string", + "required": true + }, + "write_operation_type": { + "type": "string", + "optional": true + } + }, + "block_types": { + "error_handling_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_name": { + "type": "string", + "optional": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + }, + "fail_on_first_destination_error": { + "type": "bool", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + } + } + }, + "required": true + } + } + }, + "required": true + }, + "source_flow_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "api_version": { + "type": "string", + "optional": true + }, + "connector_profile_name": { + "type": "string", + "optional": true + }, + "connector_type": { + "type": "string", + "required": true + } + }, + "block_types": { + "incremental_pull_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "datetime_type_field_name": { + "type": "string", + "optional": true + } + } + }, + "optional": true + }, + "source_connector_properties": { + "nesting_mode": 3, + "block": { + "block_types": { + "amplitude": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "custom_connector": { + "nesting_mode": 3, + "block": { + "attributes": { + "custom_properties": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "entity_name": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "datadog": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "dynatrace": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "google_analytics": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "infor_nexus": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "marketo": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "s3": { + "nesting_mode": 3, + "block": { + "attributes": { + "bucket_name": { + "type": "string", + "required": true + }, + "bucket_prefix": { + "type": "string", + "optional": true + } + }, + "block_types": { + "s3_input_format_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "s3_input_file_type": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true + }, + "salesforce": { + "nesting_mode": 3, + "block": { + "attributes": { + "enable_dynamic_field_update": { + "type": "bool", + "optional": true + }, + "include_deleted_records": { + "type": "bool", + "optional": true + }, + "object": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "sapo_data": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "service_now": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "singular": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "slack": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "trendmicro": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "veeva": { + "nesting_mode": 3, + "block": { + "attributes": { + "document_type": { + "type": "string", + "optional": true + }, + "include_all_versions": { + "type": "bool", + "optional": true + }, + "include_renditions": { + "type": "bool", + "optional": true + }, + "include_source_files": { + "type": "bool", + "optional": true + }, + "object": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, + "zendesk": { + "nesting_mode": 3, + "block": { + "attributes": { + "object": { + "type": "string", + "required": true + } + } + }, + "optional": true + } + } + }, + "required": true + } + } + }, + "required": true + }, + "task": { + "nesting_mode": 4, + "block": { + "attributes": { + "destination_field": { + "type": "string", + "optional": true + }, + "source_fields": { + "type": [ + "list", + "string" + ], + "required": true + }, + "task_properties": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "task_type": { + "type": "string", + "required": true + } + }, + "block_types": { + "connector_operator": { + "nesting_mode": 3, + "block": { + "attributes": { + "amplitude": { + "type": "string", + "optional": true + }, + "custom_connector": { + "type": "string", + "optional": true + }, + "datadog": { + "type": "string", + "optional": true + }, + "dynatrace": { + "type": "string", + "optional": true + }, + "google_analytics": { + "type": "string", + "optional": true + }, + "infor_nexus": { + "type": "string", + "optional": true + }, + "marketo": { + "type": "string", + "optional": true + }, + "s3": { + "type": "string", + "optional": true + }, + "salesforce": { + "type": "string", + "optional": true + }, + "sapo_data": { + "type": "string", + "optional": true + }, + "service_now": { + "type": "string", + "optional": true + }, + "singular": { + "type": "string", + "optional": true + }, + "slack": { + "type": "string", + "optional": true + }, + "trendmicro": { + "type": "string", + "optional": true + }, + "veeva": { + "type": "string", + "optional": true + }, + "zendesk": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + }, + "required": true + }, + "trigger_config": { + "nesting_mode": 3, + "block": { + "attributes": { + "trigger_type": { + "type": "string", + "required": true + } + }, + "block_types": { + "trigger_properties": { + "nesting_mode": 3, + "block": { + "block_types": { + "scheduled": { + "nesting_mode": 3, + "block": { + "attributes": { + "data_pull_mode": { + "type": "string", + "optional": true + }, + "first_execution_from": { + "type": "string", + "optional": true + }, + "schedule_end_time": { + "type": "string", + "optional": true + }, + "schedule_expression": { + "type": "string", + "required": true + }, + "schedule_offset": { + "type": "number", + "optional": true + }, + "schedule_start_time": { + "type": "string", + "optional": true + }, + "timezone": { + "type": "string", + "optional": true + } + } + }, + "optional": true + } + } + }, + "optional": true, + "computed": true + } + } + }, + "required": true + } + } + } + }, + "aws_appintegrations_event_integration": { + "block": { + "attributes": { + "arn": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "eventbridge_bus": { + "type": "string", + "required": true + }, + "name": { + "type": "string", + "required": true + }, + "tags": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "tags_all": { + "type": [ + "map", + "string" + ], + "optional": true, + "computed": true + } + }, + "block_types": { + "event_filter": { + "nesting_mode": 3, + "block": { + "attributes": { + "source": { + "type": "string", + "required": true + } + } + }, + "required": true + } + } + } + }, "aws_appmesh_gateway_route": { "block": { "attributes": { @@ -22435,6 +24444,117 @@ func init() { } } }, + "aws_connect_user_hierarchy_group": { + "block": { + "attributes": { + "arn": { + "type": "string", + "computed": true + }, + "hierarchy_group_id": { + "type": "string", + "computed": true + }, + "hierarchy_path": { + "type": [ + "list", + [ + "object", + { + "level_five": [ + "list", + [ + "object", + { + "arn": "string", + "id": "string", + "name": "string" + } + ] + ], + "level_four": [ + "list", + [ + "object", + { + "arn": "string", + "id": "string", + "name": "string" + } + ] + ], + "level_one": [ + "list", + [ + "object", + { + "arn": "string", + "id": "string", + "name": "string" + } + ] + ], + "level_three": [ + "list", + [ + "object", + { + "arn": "string", + "id": "string", + "name": "string" + } + ] + ], + "level_two": [ + "list", + [ + "object", + { + "arn": "string", + "id": "string", + "name": "string" + } + ] + ] + } + ] + ], + "computed": true + }, + "instance_id": { + "type": "string", + "required": true + }, + "level_id": { + "type": "string", + "computed": true + }, + "name": { + "type": "string", + "required": true + }, + "parent_group_id": { + "type": "string", + "optional": true + }, + "tags": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "tags_all": { + "type": [ + "map", + "string" + ], + "optional": true, + "computed": true + } + } + } + }, "aws_connect_user_hierarchy_structure": { "block": { "attributes": { @@ -52029,7 +54149,10 @@ func init() { }, "instance_type": { "type": "string", - "optional": true + "optional": true, + "conflicts_with": [ + "instance_requirements" + ] }, "kernel_id": { "type": "string", @@ -52351,6 +54474,220 @@ func init() { }, "optional": true }, + "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", + "required": true + } + } + }, + "required": 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", + "required": true + } + } + }, + "required": true + } + } + }, + "optional": true, + "conflicts_with": [ + "instance_type" + ] + }, "license_specification": { "nesting_mode": 4, "block": { @@ -54795,6 +57132,61 @@ func init() { } } }, + "aws_location_map": { + "block": { + "attributes": { + "create_time": { + "type": "string", + "computed": true + }, + "description": { + "type": "string", + "optional": true + }, + "map_arn": { + "type": "string", + "computed": true + }, + "map_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": { + "configuration": { + "nesting_mode": 3, + "block": { + "attributes": { + "style": { + "type": "string", + "required": true + } + } + }, + "required": true + } + } + } + }, "aws_macie2_account": { "block": { "attributes": { @@ -79614,6 +82006,219 @@ func init() { "optional": true, "computed": true } + }, + "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 + } } }, "optional": true @@ -129933,5 +132538,5 @@ func init() { fmt.Fprintf(os.Stderr, "unmarshalling the provider schema: %s", err) os.Exit(1) } - ProviderSchemaInfo.Version = "4.13.0" + ProviderSchemaInfo.Version = "4.14.0" } diff --git a/providers/azurerm/provider_gen.go b/providers/azurerm/provider_gen.go index 5e39cd0..3a7dccf 100644 --- a/providers/azurerm/provider_gen.go +++ b/providers/azurerm/provider_gen.go @@ -12124,6 +12124,81 @@ func init() { } } }, + "azurerm_confidential_ledger": { + "block": { + "attributes": { + "identity_service_endpoint": { + "type": "string", + "computed": true + }, + "ledger_endpoint": { + "type": "string", + "computed": true + }, + "ledger_type": { + "type": "string", + "required": true + }, + "location": { + "type": "string", + "required": true + }, + "name": { + "type": "string", + "required": true + }, + "resource_group_name": { + "type": "string", + "required": true + }, + "tags": { + "type": [ + "map", + "string" + ], + "optional": true + } + }, + "block_types": { + "azuread_based_service_principal": { + "nesting_mode": 3, + "block": { + "attributes": { + "ledger_role_name": { + "type": "string", + "required": true + }, + "principal_id": { + "type": "string", + "required": true + }, + "tenant_id": { + "type": "string", + "required": true + } + } + }, + "required": true + }, + "certificate_based_security_principal": { + "nesting_mode": 3, + "block": { + "attributes": { + "ledger_role_name": { + "type": "string", + "required": true + }, + "pem_public_key": { + "type": "string", + "required": true + } + } + }, + "optional": true + } + } + } + }, "azurerm_consumption_budget_management_group": { "block": { "attributes": { @@ -12909,6 +12984,10 @@ func init() { "optional": true, "default": "Public" }, + "key_vault_key_id": { + "type": "string", + "optional": true + }, "location": { "type": "string", "required": true @@ -14613,6 +14692,13 @@ func init() { "resource_group_name": { "type": "string", "required": true + }, + "tags": { + "type": [ + "map", + "string" + ], + "optional": true } } } @@ -40240,6 +40326,11 @@ func init() { "option": { "type": "string", "required": true + }, + "placement": { + "type": "string", + "optional": true, + "default": "CacheDisk" } } }, @@ -46254,6 +46345,28 @@ func init() { } } }, + "azurerm_managed_disk_sas_token": { + "block": { + "attributes": { + "access_level": { + "type": "string", + "required": true + }, + "duration_in_seconds": { + "type": "number", + "required": true + }, + "managed_disk_id": { + "type": "string", + "required": true + }, + "sas_url": { + "type": "string", + "computed": true + } + } + } + }, "azurerm_management_group": { "block": { "attributes": { @@ -50379,8 +50492,7 @@ func init() { }, "license_type": { "type": "string", - "optional": true, - "computed": true + "optional": true }, "max_size_gb": { "type": "number", @@ -61353,6 +61465,10 @@ func init() { "string" ], "optional": true + }, + "trusted_launch_enabled": { + "type": "bool", + "computed": true } }, "block_types": { @@ -61720,6 +61836,48 @@ func init() { } } }, + "azurerm_spring_cloud_build_pack_binding": { + "block": { + "attributes": { + "binding_type": { + "type": "string", + "optional": true + }, + "name": { + "type": "string", + "required": true + }, + "spring_cloud_builder_id": { + "type": "string", + "required": true + } + }, + "block_types": { + "launch": { + "nesting_mode": 3, + "block": { + "attributes": { + "properties": { + "type": [ + "map", + "string" + ], + "optional": true + }, + "secrets": { + "type": [ + "map", + "string" + ], + "optional": true + } + } + }, + "optional": true + } + } + } + }, "azurerm_spring_cloud_builder": { "block": { "attributes": { @@ -61984,6 +62142,175 @@ func init() { } } }, + "azurerm_spring_cloud_gateway": { + "block": { + "attributes": { + "https_only": { + "type": "bool", + "optional": true + }, + "instance_count": { + "type": "number", + "optional": true, + "default": 1 + }, + "name": { + "type": "string", + "required": true + }, + "public_network_access_enabled": { + "type": "bool", + "optional": true + }, + "spring_cloud_service_id": { + "type": "string", + "required": true + }, + "url": { + "type": "string", + "computed": true + } + }, + "block_types": { + "api_metadata": { + "nesting_mode": 3, + "block": { + "attributes": { + "description": { + "type": "string", + "optional": true + }, + "documentation_url": { + "type": "string", + "optional": true + }, + "server_url": { + "type": "string", + "optional": true + }, + "title": { + "type": "string", + "optional": true + }, + "version": { + "type": "string", + "optional": true + } + } + }, + "optional": true + }, + "cors": { + "nesting_mode": 3, + "block": { + "attributes": { + "allowed_headers": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "allowed_methods": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "allowed_origins": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "credentials_allowed": { + "type": "bool", + "optional": true + }, + "exposed_headers": { + "type": [ + "set", + "string" + ], + "optional": true + }, + "max_age_seconds": { + "type": "number", + "optional": true + } + } + }, + "optional": true + }, + "quota": { + "nesting_mode": 3, + "block": { + "attributes": { + "cpu": { + "type": "string", + "optional": true, + "default": "1" + }, + "memory": { + "type": "string", + "optional": true, + "default": "2Gi" + } + } + }, + "optional": true, + "computed": true + }, + "sso": { + "nesting_mode": 3, + "block": { + "attributes": { + "client_id": { + "type": "string", + "optional": true + }, + "client_secret": { + "type": "string", + "optional": true + }, + "issuer_uri": { + "type": "string", + "optional": true + }, + "scope": { + "type": [ + "set", + "string" + ], + "optional": true + } + } + }, + "optional": true + } + } + } + }, + "azurerm_spring_cloud_gateway_custom_domain": { + "block": { + "attributes": { + "name": { + "type": "string", + "required": true + }, + "spring_cloud_gateway_id": { + "type": "string", + "required": true + }, + "thumbprint": { + "type": "string", + "optional": true + } + } + } + }, "azurerm_spring_cloud_java_deployment": { "block": { "attributes": { @@ -64564,7 +64891,7 @@ func init() { "set", "string" ], - "optional": true + "required": true }, "prefix_match": { "type": [ @@ -64687,6 +65014,10 @@ func init() { "azurerm_storage_share": { "block": { "attributes": { + "access_tier": { + "type": "string", + "optional": true + }, "enabled_protocol": { "type": "string", "optional": true, @@ -65035,6 +65366,11 @@ func init() { "nesting_mode": 3, "block": { "attributes": { + "configuration_parameter": { + "type": "bool", + "optional": true, + "default": false + }, "type": { "type": "string", "required": true @@ -65083,6 +65419,11 @@ func init() { "nesting_mode": 3, "block": { "attributes": { + "configuration_parameter": { + "type": "bool", + "optional": true, + "default": false + }, "type": { "type": "string", "required": true @@ -65518,6 +65859,36 @@ func init() { } } }, + "azurerm_stream_analytics_output_powerbi": { + "block": { + "attributes": { + "dataset": { + "type": "string", + "required": true + }, + "group_id": { + "type": "string", + "required": true + }, + "group_name": { + "type": "string", + "required": true + }, + "name": { + "type": "string", + "required": true + }, + "stream_analytics_job_id": { + "type": "string", + "required": true + }, + "table": { + "type": "string", + "required": true + } + } + } + }, "azurerm_stream_analytics_output_servicebus_queue": { "block": { "attributes": { @@ -70642,6 +71013,22 @@ func init() { } }, "block_types": { + "custom_bgp_addresses": { + "nesting_mode": 3, + "block": { + "attributes": { + "primary": { + "type": "string", + "required": true + }, + "secondary": { + "type": "string", + "required": true + } + } + }, + "optional": true + }, "ipsec_policy": { "nesting_mode": 3, "block": { @@ -74268,6 +74655,11 @@ func init() { "option": { "type": "string", "required": true + }, + "placement": { + "type": "string", + "optional": true, + "default": "CacheDisk" } } }, @@ -77423,5 +77815,5 @@ func init() { fmt.Fprintf(os.Stderr, "unmarshalling the provider schema: %s", err) os.Exit(1) } - ProviderSchemaInfo.Version = "3.5.0" + ProviderSchemaInfo.Version = "3.6.0" }