Skip to content

Commit

Permalink
Merge pull request #1511 from hashicorp/d-update-all-schemas
Browse files Browse the repository at this point in the history
Adding specific issues for suppressed resources to `all_schemas.hcl`
  • Loading branch information
breathingdust authored Apr 8, 2024
2 parents ee1f5a1 + 2fad679 commit 797cba4
Showing 1 changed file with 60 additions and 29 deletions.
89 changes: 60 additions & 29 deletions internal/provider/all_schemas.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ resource_schema "aws_amplifyuibuilder_component" {
cloudformation_type_name = "AWS::AmplifyUIBuilder::Component"
suppress_plural_data_source_generation = true

# Goes into infinite recursion while generating code...
# Suppression Reason:
# Recursive Attribute Definitions https://github.com/hashicorp/terraform-provider-awscc/issues/95
suppress_resource_generation = true
suppress_singular_data_source_generation = true
}
Expand All @@ -79,7 +80,8 @@ resource_schema "aws_amplifyuibuilder_form" {
cloudformation_type_name = "AWS::AmplifyUIBuilder::Form"
suppress_plural_data_source_generation = true

# Goes into infinite recursion while generating code...
# Suppression Reason:
# Recursive Attribute Definitions https://github.com/hashicorp/terraform-provider-awscc/issues/95
suppress_resource_generation = true
suppress_singular_data_source_generation = true
}
Expand All @@ -88,7 +90,8 @@ resource_schema "aws_amplifyuibuilder_theme" {
cloudformation_type_name = "AWS::AmplifyUIBuilder::Theme"
suppress_plural_data_source_generation = true

# Goes into infinite recursion while generating code...
# Suppression Reason:
# Recursive Attribute Definitions https://github.com/hashicorp/terraform-provider-awscc/issues/95
suppress_resource_generation = true
suppress_singular_data_source_generation = true
}
Expand Down Expand Up @@ -218,7 +221,8 @@ resource_schema "aws_apigatewayv2_route_response" {
cloudformation_type_name = "AWS::ApiGatewayV2::RouteResponse"
suppress_plural_data_source_generation = true

# ResponseParameters is of unsupported type:
# Suppression Reason: ResponseParameters is of unsupported type: ""
# https://github.com/hashicorp/terraform-provider-awscc/issues/1504
suppress_resource_generation = true
suppress_singular_data_source_generation = true
}
Expand All @@ -244,7 +248,8 @@ resource_schema "aws_appconfig_environment" {
resource_schema "aws_appconfig_extension" {
cloudformation_type_name = "AWS::AppConfig::Extension"

# Actions is of unsupported type: key-value map of set of object.
# Suppression Reason: Actions is of unsupported type: key-value map of set of object.
# https://github.com/hashicorp/terraform-provider-awscc/issues/1508
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand Down Expand Up @@ -278,7 +283,8 @@ resource_schema "aws_appintegrations_application" {
resource_schema "aws_appintegrations_data_integration" {
cloudformation_type_name = "AWS::AppIntegrations::DataIntegration"

# ObjectConfiguration is of unsupported type: key-value map of key-value map.
# Suppression Reason: ObjectConfiguration is of unsupported type: key-value map of key-value map.
# https://github.com/hashicorp/terraform-provider-awscc/issues/1509
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand Down Expand Up @@ -454,7 +460,8 @@ resource_schema "aws_b2bi_transformer" {
resource_schema "aws_bcmdataexports_export" {
cloudformation_type_name = "AWS::BCMDataExports::Export"

# Export/DataQuery/TableConfigurations is of unsupported type: key-value map of key-value map.
# Suppression Reason: Export/DataQuery/TableConfigurations is of unsupported type: key-value map of key-value map.
# https://github.com/hashicorp/terraform-provider-awscc/issues/1509
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand Down Expand Up @@ -802,7 +809,8 @@ resource_schema "aws_cognito_identity_pool" {
resource_schema "aws_cognito_identity_pool_role_attachment" {
cloudformation_type_name = "AWS::Cognito::IdentityPoolRoleAttachment"

# RoleMappings is of unsupported type:
# Suppression Reason: RoleMappings is of unsupported type: ""
# https://github.com/hashicorp/terraform-provider-awscc/issues/1505
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand All @@ -821,7 +829,8 @@ resource_schema "aws_cognito_log_delivery_configuration" {
resource_schema "aws_cognito_user_pool" {
cloudformation_type_name = "AWS::Cognito::UserPool"

# SmsMessage overwrites SMSMessage for Terraform attribute sms_message.
# Suppression Reason: SmsMessage overwrites SMSMessage for Terraform attribute sms_message.
# https://github.com/hashicorp/terraform-provider-awscc/issues/1520
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand Down Expand Up @@ -897,7 +906,8 @@ resource_schema "aws_connect_contact_flow_module" {
resource_schema "aws_connect_evaluation_form" {
cloudformation_type_name = "AWS::Connect::EvaluationForm"

# Infinite recursion.
# Suppression Reason:
# Recursive Attribute Definitions https://github.com/hashicorp/terraform-provider-awscc/issues/95
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand Down Expand Up @@ -955,7 +965,8 @@ resource_schema "aws_connect_routing_profile" {
resource_schema "aws_connect_rule" {
cloudformation_type_name = "AWS::Connect::Rule"

# Actions/AssignContactCategoryActions is of unsupported type: set of undefined schema.
# Suppression Reason: Actions/AssignContactCategoryActions is of unsupported type: set of undefined schema.
# https://github.com/hashicorp/terraform-provider-awscc/issues/1510
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand Down Expand Up @@ -1008,7 +1019,8 @@ resource_schema "aws_connectcampaigns_campaign" {
resource_schema "aws_controltower_enabled_baseline" {
cloudformation_type_name = "AWS::ControlTower::EnabledBaseline"

# Parameters/Value is of unsupported type: .
# Suppression Reason:
# Properties with anyOf indicator https://github.com/hashicorp/terraform-provider-awscc/issues/98
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand All @@ -1022,7 +1034,8 @@ resource_schema "aws_controltower_enabled_control" {
resource_schema "aws_controltower_landing_zone" {
cloudformation_type_name = "AWS::ControlTower::LandingZone"

# Manifest is of unsupported type: .
# Suppression Reason: Manifest is of unsupported type: .
# https://github.com/hashicorp/terraform-provider-awscc/issues/1519
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand Down Expand Up @@ -1086,7 +1099,8 @@ resource_schema "aws_databrew_project" {
resource_schema "aws_databrew_recipe" {
cloudformation_type_name = "AWS::DataBrew::Recipe"

# Parameters property is 'anyOf', which we cannot yet handle.
# Suppression Reason:
# Properties with anyOf indicator https://github.com/hashicorp/terraform-provider-awscc/issues/98
suppress_resource_generation = true
suppress_singular_data_source_generation = true
}
Expand Down Expand Up @@ -1751,7 +1765,8 @@ resource_schema "aws_elasticloadbalancingv2_listener" {
cloudformation_type_name = "AWS::ElasticLoadBalancingV2::Listener"
suppress_plural_data_source_generation = true

# error creating write-only attribute path (/properties/DefaultActions/*/AuthenticateOidcConfig/ClientSecret): invalid property path segment: "*"
# Suppression Reason: error creating write-only attribute path (/properties/DefaultActions/*/AuthenticateOidcConfig/ClientSecret): invalid property path segment: "*"
# https://github.com/hashicorp/terraform-provider-awscc/issues/1521
suppress_resource_generation = true
suppress_singular_data_source_generation = true
}
Expand All @@ -1760,7 +1775,8 @@ resource_schema "aws_elasticloadbalancingv2_listener_rule" {
cloudformation_type_name = "AWS::ElasticLoadBalancingV2::ListenerRule"
suppress_plural_data_source_generation = true

# error creating write-only attribute path (/properties/Actions/*/AuthenticateOidcConfig/ClientSecret): invalid property path segment: "*"
# Suppression Reason: error creating write-only attribute path (/properties/Actions/*/AuthenticateOidcConfig/ClientSecret): invalid property path segment: "*"
# https://github.com/hashicorp/terraform-provider-awscc/issues/1521
suppress_resource_generation = true
suppress_singular_data_source_generation = true
}
Expand Down Expand Up @@ -1821,7 +1837,8 @@ resource_schema "aws_events_archive" {
resource_schema "aws_events_connection" {
cloudformation_type_name = "AWS::Events::Connection"

# error creating write-only attribute path (/definitions/BasicAuthParameters/Password): expected "properties" for the second property path segment, got: "definitions"
# Suppression Reason: error creating write-only attribute path (/definitions/BasicAuthParameters/Password): expected "properties" for the second property path segment, got: "definitions"
# https://github.com/hashicorp/terraform-provider-awscc/issues/1521
suppress_resource_generation = true
suppress_singular_data_source_generation = true
}
Expand Down Expand Up @@ -2223,7 +2240,8 @@ resource_schema "aws_imagebuilder_lifecycle_policy" {
resource_schema "aws_inspectorv2_cis_scan_configuration" {
cloudformation_type_name = "AWS::InspectorV2::CisScanConfiguration"

# Targets/TargetResourceTags is of unsupported type:
# Suppression Reason: Targets/TargetResourceTags is of unsupported type: ""
# https://github.com/hashicorp/terraform-provider-awscc/issues/1507
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand Down Expand Up @@ -2385,7 +2403,8 @@ resource_schema "aws_iotfleetwise_campaign" {
resource_schema "aws_iotfleetwise_decoder_manifest" {
cloudformation_type_name = "AWS::IoTFleetWise::DecoderManifest"

# NetworkInterfaces is of unsupported type: list of .
# Suppression Reason: NetworkInterfaces is of unsupported type: list of ""
# https://github.com/hashicorp/terraform-provider-awscc/issues/1515
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand Down Expand Up @@ -2442,7 +2461,8 @@ resource_schema "aws_iottwinmaker_component_type" {
cloudformation_type_name = "AWS::IoTTwinMaker::ComponentType"
suppress_plural_data_source_generation = true

# Goes into infinite recursion while generating code...
# Suppression Reason:
# Recursive Attribute Definitions https://github.com/hashicorp/terraform-provider-awscc/issues/95
suppress_resource_generation = true
suppress_singular_data_source_generation = true
}
Expand All @@ -2451,7 +2471,8 @@ resource_schema "aws_iottwinmaker_entity" {
cloudformation_type_name = "AWS::IoTTwinMaker::Entity"
suppress_plural_data_source_generation = true

# Goes into infinite recursion while generating code...
# Suppression Reason:
# Recursive Attribute Definitions https://github.com/hashicorp/terraform-provider-awscc/issues/95
suppress_resource_generation = true
suppress_singular_data_source_generation = true
}
Expand Down Expand Up @@ -2975,7 +2996,8 @@ resource_schema "aws_mediatailor_live_source" {
resource_schema "aws_mediatailor_playback_configuration" {
cloudformation_type_name = "AWS::MediaTailor::PlaybackConfiguration"

# "ConfigurationAliases is of unsupported type: ".
# Suppression Reason: ConfigurationAliases is of unsupported type: ""
# https://github.com/hashicorp/terraform-provider-awscc/issues/1506
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand Down Expand Up @@ -3135,7 +3157,8 @@ resource_schema "aws_oam_sink" {
resource_schema "aws_omics_annotation_store" {
cloudformation_type_name = "AWS::Omics::AnnotationStore"

# "StoreOptions/TsvStoreOptions/Schema is of unsupported type: list of key-value map".
# Suppression Reason: StoreOptions/TsvStoreOptions/Schema is of unsupported type: list of key-value map.
# https://github.com/hashicorp/terraform-provider-awscc/issues/1517
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand Down Expand Up @@ -3468,7 +3491,8 @@ resource_schema "aws_rekognition_project" {
resource_schema "aws_rekognition_stream_processor" {
cloudformation_type_name = "AWS::Rekognition::StreamProcessor"

# PolygonRegionsOfInterest is of unsupported type: set of array.
# Suppression Reason: PolygonRegionsOfInterest is of unsupported type: set of array.
# https://github.com/hashicorp/terraform-provider-awscc/issues/1516
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand Down Expand Up @@ -3889,7 +3913,9 @@ resource_schema "aws_sagemaker_model_bias_job_definition" {
resource_schema "aws_sagemaker_model_card" {
cloudformation_type_name = "AWS::SageMaker::ModelCard"

# "Content/EvaluationDetails/MetricGroups/MetricData is of unsupported type: list of ".
# Suppression Reason: Properties with anyOf indicator
# Content/EvaluationDetails/MetricGroups/MetricData is of unsupported type: list of ""
# https://github.com/hashicorp/terraform-provider-awscc/issues/98
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand Down Expand Up @@ -3934,7 +3960,8 @@ resource_schema "aws_sagemaker_user_profile" {
resource_schema "aws_scheduler_schedule" {
cloudformation_type_name = "AWS::Scheduler::Schedule"

# Target/EcsParameters/Tags is of unsupported type: list of key-value map.
# Suppression Reason: Target/EcsParameters/Tags is of unsupported type: list of key-value map.
# https://github.com/hashicorp/terraform-provider-awscc/issues/1517
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand All @@ -3951,7 +3978,9 @@ resource_schema "aws_secretsmanager_secret" {
resource_schema "aws_securityhub_automation_rule" {
cloudformation_type_name = "AWS::SecurityHub::AutomationRule"

# Actions/FindingFieldsUpdate/Note/UpdatedBy is of unsupported type:
# Suppression Reason:
# Properties with anyOf indicator https://github.com/hashicorp/terraform-provider-awscc/issues/98
# Actions/FindingFieldsUpdate/Note/UpdatedBy
suppress_resource_generation = true
suppress_singular_data_source_generation = true
suppress_plural_data_source_generation = true
Expand Down Expand Up @@ -4216,7 +4245,8 @@ resource_schema "aws_wafv2_rule_group" {
cloudformation_type_name = "AWS::WAFv2::RuleGroup"
suppress_plural_data_source_generation = true

# Goes into infinite recursion while generating code...
# Suppression Reason:
# Recursive Attribute Definitions https://github.com/hashicorp/terraform-provider-awscc/issues/95
suppress_resource_generation = true
suppress_singular_data_source_generation = true
}
Expand All @@ -4225,7 +4255,8 @@ resource_schema "aws_wafv2_web_acl" {
cloudformation_type_name = "AWS::WAFv2::WebACL"
suppress_plural_data_source_generation = true

# Goes into infinite recursion while generating code...
# Suppression Reason:
# Recursive Attribute Definitions https://github.com/hashicorp/terraform-provider-awscc/issues/95
suppress_resource_generation = true
suppress_singular_data_source_generation = true
}
Expand Down

0 comments on commit 797cba4

Please sign in to comment.