Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mappings for new resources #421

Merged
merged 1 commit into from
Sep 7, 2019
Merged

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Sep 3, 2019

Added new mappings for resources added between terraform-provider-aws v2.16.0 and v2.25.0.

As a result, 44 rules have been added. The target resources are as follows:

  • aws_appsync_function
  • aws_athena_workgroup
  • aws_codebuild_source_credential
  • aws_config_organization_managed_rule
  • aws_config_organization_custom_rule
  • aws_datapipeline_pipeline
  • aws_dx_transit_virtual_interface
  • aws_directory_service_log_subscription
  • aws_ebs_default_kms_key
  • aws_ebs_encryption_by_default
  • aws_fms_admin_account
  • aws_fsx_lustre_file_system
  • aws_fsx_windows_file_system
  • aws_globalaccelerator_endpoint_group
  • aws_quicksight_group
  • aws_ram_resource_share_accepter
  • aws_redshift_snapshot_schedule
  • aws_redshift_snapshot_schedule_association
  • aws_servicequotas_service_quota

@PatMyron
Copy link
Contributor

PatMyron commented Dec 22, 2021

resources added between terraform-provider-aws v2.16.0 and v2.25.0

were these found by diffing ResourcesMap here?
https://github.com/hashicorp/terraform-provider-aws/blob/v2.25.0/aws/provider.go#L294
or any quicker/better way?


Comparing with https://github.com/hashicorp/terraform-provider-aws/blob/v3.70.0/internal/provider/provider.go#L723, these are the 334 resource types added between v2.25.0 and v3.70.0:

aws_accessanalyzer_analyzer
aws_account_alternate_contact
aws_acmpca_certificate
aws_acmpca_certificate_authority_certificate
aws_amplify_app
aws_amplify_backend_environment
aws_amplify_branch
aws_amplify_domain_association
aws_amplify_webhook
aws_api_gateway_rest_api_policy
aws_apigatewayv2_api
aws_apigatewayv2_api_mapping
aws_apigatewayv2_authorizer
aws_apigatewayv2_deployment
aws_apigatewayv2_domain_name
aws_apigatewayv2_integration
aws_apigatewayv2_integration_response
aws_apigatewayv2_model
aws_apigatewayv2_route
aws_apigatewayv2_route_response
aws_apigatewayv2_stage
aws_apigatewayv2_vpc_link
aws_appconfig_application
aws_appconfig_configuration_profile
aws_appconfig_deployment
aws_appconfig_deployment_strategy
aws_appconfig_environment
aws_appconfig_hosted_configuration_version
aws_appmesh_gateway_route
aws_appmesh_virtual_gateway
aws_apprunner_auto_scaling_configuration_version
aws_apprunner_connection
aws_apprunner_custom_domain_association
aws_apprunner_service
aws_appstream_directory_config
aws_appstream_fleet
aws_appstream_fleet_stack_association
aws_appstream_image_builder
aws_appstream_stack
aws_appstream_user
aws_appstream_user_stack_association
aws_autoscaling_group_tag
aws_autoscalingplans_scaling_plan
aws_backup_global_settings
aws_backup_region_settings
aws_backup_vault_lock_configuration
aws_backup_vault_notifications
aws_backup_vault_policy
aws_budgets_budget_action
aws_chime_voice_connector
aws_chime_voice_connector_group
aws_chime_voice_connector_logging
aws_chime_voice_connector_origination
aws_chime_voice_connector_streaming
aws_chime_voice_connector_termination
aws_chime_voice_connector_termination_credentials
aws_cloudcontrolapi_resource
aws_cloudformation_type
aws_cloudfront_cache_policy
aws_cloudfront_field_level_encryption_config
aws_cloudfront_field_level_encryption_profile
aws_cloudfront_function
aws_cloudfront_key_group
aws_cloudfront_monitoring_subscription
aws_cloudfront_origin_request_policy
aws_cloudfront_realtime_log_config
aws_cloudfront_response_headers_policy
aws_cloudwatch_composite_alarm
aws_cloudwatch_event_api_destination
aws_cloudwatch_event_archive
aws_cloudwatch_event_bus
aws_cloudwatch_event_bus_policy
aws_cloudwatch_event_connection
aws_cloudwatch_metric_stream
aws_cloudwatch_query_definition
aws_codeartifact_domain
aws_codeartifact_domain_permissions_policy
aws_codeartifact_repository
aws_codeartifact_repository_permissions_policy
aws_codebuild_report_group
aws_codecommit_approval_rule_template
aws_codecommit_approval_rule_template_association
aws_codestarconnections_connection
aws_codestarconnections_host
aws_codestarnotifications_notification_rule
aws_cognito_user_pool_ui_customization
aws_config_conformance_pack
aws_config_organization_conformance_pack
aws_config_remediation_configuration
aws_connect_bot_association
aws_connect_contact_flow
aws_connect_hours_of_operation
aws_connect_instance
aws_connect_lambda_function_association
aws_datasync_location_fsx_windows_file_system
aws_datasync_location_smb
aws_db_proxy
aws_db_proxy_default_target_group
aws_db_proxy_endpoint
aws_db_proxy_target
aws_detective_graph
aws_dms_event_subscription
aws_docdb_global_cluster
aws_dx_connection_confirmation
aws_dx_hosted_connection
aws_dx_hosted_transit_virtual_interface
aws_dx_hosted_transit_virtual_interface_accepter
aws_dynamodb_kinesis_streaming_destination
aws_dynamodb_tag
aws_ebs_snapshot_import
aws_ec2_availability_zone_group
aws_ec2_carrier_gateway
aws_ec2_client_vpn_authorization_rule
aws_ec2_client_vpn_route
aws_ec2_host
aws_ec2_local_gateway_route
aws_ec2_local_gateway_route_table_vpc_association
aws_ec2_managed_prefix_list
aws_ec2_managed_prefix_list_entry
aws_ec2_subnet_cidr_reservation
aws_ec2_tag
aws_ec2_traffic_mirror_filter
aws_ec2_traffic_mirror_filter_rule
aws_ec2_traffic_mirror_session
aws_ec2_traffic_mirror_target
aws_ec2_transit_gateway_peering_attachment
aws_ec2_transit_gateway_peering_attachment_accepter
aws_ec2_transit_gateway_prefix_list_reference
aws_ecr_pull_through_cache_rule
aws_ecr_registry_policy
aws_ecr_registry_scanning_configuration
aws_ecr_replication_configuration
aws_ecrpublic_repository
aws_ecrpublic_repository_policy
aws_ecs_account_setting_default
aws_ecs_capacity_provider
aws_ecs_tag
aws_ecs_task_set
aws_efs_access_point
aws_efs_backup_policy
aws_efs_file_system_policy
aws_eks_addon
aws_eks_fargate_profile
aws_eks_identity_provider_config
aws_eks_node_group
aws_elasticache_global_replication_group
aws_elasticache_user
aws_elasticache_user_group
aws_elasticsearch_domain_saml_options
aws_emr_instance_fleet
aws_emr_managed_scaling_policy
aws_emr_studio
aws_emr_studio_session_mapping
aws_fms_policy
aws_fsx_backup
aws_fsx_ontap_file_system
aws_fsx_ontap_storage_virtual_machine
aws_fsx_ontap_volume
aws_glue_data_catalog_encryption_settings
aws_glue_dev_endpoint
aws_glue_ml_transform
aws_glue_partition
aws_glue_partition_index
aws_glue_registry
aws_glue_resource_policy
aws_glue_schema
aws_glue_user_defined_function
aws_glue_workflow
aws_guardduty_filter
aws_guardduty_organization_admin_account
aws_guardduty_organization_configuration
aws_guardduty_publishing_destination
aws_imagebuilder_component
aws_imagebuilder_distribution_configuration
aws_imagebuilder_image
aws_imagebuilder_image_pipeline
aws_imagebuilder_image_recipe
aws_imagebuilder_infrastructure_configuration
aws_iot_authorizer
aws_iot_thing_group
aws_iot_thing_group_membership
aws_kinesis_stream_consumer
aws_kinesis_video_stream
aws_kinesisanalyticsv2_application
aws_kinesisanalyticsv2_application_snapshot
aws_kms_replica_external_key
aws_kms_replica_key
aws_lakeformation_data_lake_settings
aws_lakeformation_permissions
aws_lakeformation_resource
aws_lambda_code_signing_config
aws_lambda_function_event_invoke_config
aws_lambda_layer_version_permission
aws_lambda_provisioned_concurrency_config
aws_lex_bot
aws_lex_bot_alias
aws_lex_intent
aws_lex_slot_type
aws_lightsail_instance_public_ports
aws_macie2_account
aws_macie2_classification_job
aws_macie2_custom_data_identifier
aws_macie2_findings_filter
aws_macie2_invitation_accepter
aws_macie2_member
aws_macie2_organization_admin_account
aws_media_convert_queue
aws_msk_scram_secret_association
aws_mwaa_environment
aws_neptune_cluster_endpoint
aws_networkfirewall_firewall
aws_networkfirewall_firewall_policy
aws_networkfirewall_logging_configuration
aws_networkfirewall_resource_policy
aws_networkfirewall_rule_group
aws_organizations_delegated_administrator
aws_prometheus_alert_manager_definition
aws_prometheus_rule_group_namespace
aws_prometheus_workspace
aws_qldb_ledger
aws_quicksight_data_source
aws_quicksight_group_membership
aws_quicksight_user
aws_rds_cluster_role_association
aws_redshift_scheduled_action
aws_route53_hosted_zone_dnssec
aws_route53_key_signing_key
aws_route53_resolver_dnssec_config
aws_route53_resolver_firewall_config
aws_route53_resolver_firewall_domain_list
aws_route53_resolver_firewall_rule
aws_route53_resolver_firewall_rule_group
aws_route53_resolver_firewall_rule_group_association
aws_route53_resolver_query_log_config
aws_route53_resolver_query_log_config_association
aws_route53_vpc_association_authorization
aws_route53recoverycontrolconfig_cluster
aws_route53recoverycontrolconfig_control_panel
aws_route53recoverycontrolconfig_routing_control
aws_route53recoverycontrolconfig_safety_rule
aws_route53recoveryreadiness_cell
aws_route53recoveryreadiness_readiness_check
aws_route53recoveryreadiness_recovery_group
aws_route53recoveryreadiness_resource_set
aws_s3_access_point
aws_s3_bucket_analytics_configuration
aws_s3_bucket_intelligent_tiering_configuration
aws_s3_bucket_ownership_controls
aws_s3_bucket_replication_configuration
aws_s3_object_copy
aws_s3control_access_point_policy
aws_s3control_bucket
aws_s3control_bucket_lifecycle_configuration
aws_s3control_bucket_policy
aws_s3control_multi_region_access_point
aws_s3control_multi_region_access_point_policy
aws_s3control_object_lambda_access_point
aws_s3control_object_lambda_access_point_policy
aws_s3outposts_endpoint
aws_sagemaker_app
aws_sagemaker_app_image_config
aws_sagemaker_code_repository
aws_sagemaker_device_fleet
aws_sagemaker_domain
aws_sagemaker_feature_group
aws_sagemaker_flow_definition
aws_sagemaker_human_task_ui
aws_sagemaker_image
aws_sagemaker_image_version
aws_sagemaker_model_package_group
aws_sagemaker_model_package_group_policy
aws_sagemaker_studio_lifecycle_config
aws_sagemaker_user_profile
aws_sagemaker_workforce
aws_sagemaker_workteam
aws_schemas_discoverer
aws_schemas_registry
aws_schemas_schema
aws_secretsmanager_secret_policy
aws_secretsmanager_secret_rotation
aws_securityhub_action_target
aws_securityhub_finding_aggregator
aws_securityhub_insight
aws_securityhub_invite_accepter
aws_securityhub_member
aws_securityhub_organization_admin_account
aws_securityhub_organization_configuration
aws_securityhub_standards_control
aws_serverlessapplicationrepository_cloudformation_stack
aws_service_discovery_instance
aws_servicecatalog_budget_resource_association
aws_servicecatalog_constraint
aws_servicecatalog_organizations_access
aws_servicecatalog_portfolio_share
aws_servicecatalog_principal_portfolio_association
aws_servicecatalog_product
aws_servicecatalog_product_portfolio_association
aws_servicecatalog_provisioned_product
aws_servicecatalog_provisioning_artifact
aws_servicecatalog_service_action
aws_servicecatalog_tag_option
aws_servicecatalog_tag_option_resource_association
aws_shield_protection_group
aws_signer_signing_job
aws_signer_signing_profile
aws_signer_signing_profile_permission
aws_ssoadmin_account_assignment
aws_ssoadmin_managed_policy_attachment
aws_ssoadmin_permission_set
aws_ssoadmin_permission_set_inline_policy
aws_storagegateway_file_system_association
aws_storagegateway_stored_iscsi_volume
aws_storagegateway_tape_pool
aws_synthetics_canary
aws_timestreamwrite_database
aws_timestreamwrite_table
aws_transfer_access
aws_vpc_ipam
aws_vpc_ipam_pool
aws_vpc_ipam_pool_cidr
aws_vpc_ipam_pool_cidr_allocation
aws_vpc_ipam_scope
aws_vpc_ipv6_cidr_block_association
aws_wafv2_ip_set
aws_wafv2_regex_pattern_set
aws_wafv2_rule_group
aws_wafv2_web_acl
aws_wafv2_web_acl_association
aws_wafv2_web_acl_logging_configuration
aws_workspaces_directory
aws_workspaces_ip_group
aws_workspaces_workspace
aws_xray_encryption_config
aws_xray_group

@wata727
Copy link
Member Author

wata727 commented Dec 23, 2021

I remember confirming it in the terraform-provider-aws release notes. Probably the smartest way is diffing the ResourceMap 👍

@PatMyron
Copy link
Contributor

PatMyron commented Jan 1, 2022

Done mapping almost all the AWS resource types up to v3.70.0 if you want to draft a release of those mappings @wata727

These are the 75/860 resource types left unmapped as of v3.70.0 for future reference:

aws_api_gateway_account
aws_api_gateway_api_key
aws_api_gateway_base_path_mapping
aws_api_gateway_client_certificate
aws_api_gateway_deployment
aws_api_gateway_documentation_version
aws_api_gateway_method
aws_api_gateway_method_settings
aws_api_gateway_model
aws_api_gateway_request_validator
aws_api_gateway_resource
aws_api_gateway_rest_api_policy
aws_api_gateway_usage_plan
aws_api_gateway_usage_plan_key
aws_api_gateway_vpc_link
aws_appstream_fleet_stack_association
aws_appsync_api_key
aws_autoscaling_attachment
aws_autoscaling_group
aws_autoscaling_group_tag
aws_autoscaling_lifecycle_hook
aws_autoscaling_notification
aws_autoscaling_policy
aws_autoscaling_schedule
aws_autoscalingplans_scaling_plan
aws_backup_global_settings
aws_backup_plan
aws_backup_region_settings
aws_budgets_budget_action
aws_cloudcontrolapi_resource
aws_cloudformation_type
aws_cloudfront_field_level_encryption_config
aws_cloudfront_field_level_encryption_profile
aws_cloudfront_monitoring_subscription
aws_cloudfront_origin_access_identity
aws_cloudfront_origin_request_policy
aws_cloudfront_public_key
aws_cloudtrail
aws_cloudwatch_composite_alarm
aws_cloudwatch_dashboard
aws_cloudwatch_metric_stream
aws_cloudwatch_query_definition
aws_codebuild_webhook
aws_codestarnotifications_notification_rule
aws_db_proxy_target
aws_detective_graph
aws_ec2_tag
aws_ecs_tag
aws_elasticache_global_replication_group
aws_emr_managed_scaling_policy
aws_guardduty_organization_admin_account
aws_iot_authorizer
aws_iot_thing_group
aws_iot_thing_group_membership
aws_kinesis_stream_consumer
aws_kinesis_video_stream
aws_lex_bot
aws_lex_bot_alias
aws_lex_intent
aws_lex_slot_type
aws_macie2_invitation_accepter
aws_macie2_organization_admin_account
aws_media_convert_queue
aws_msk_scram_secret_association
aws_mwaa_environment
aws_qldb_ledger
aws_route53_hosted_zone_dnssec
aws_route53_key_signing_key
aws_route53_vpc_association_authorization
aws_s3_access_point
aws_s3outposts_endpoint
aws_securityhub_organization_configuration
aws_serverlessapplicationrepository_cloudformation_stack
aws_servicecatalog_organizations_access
aws_synthetics_canary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants