Skip to content

Commit

Permalink
Merge pull request #76 from tsenay/master
Browse files Browse the repository at this point in the history
add resource aws_s3_bucket_analytics_configuration
  • Loading branch information
JamesWoolfenden authored Nov 7, 2024
2 parents d533d1d + 823ef79 commit 1dcf2df
Show file tree
Hide file tree
Showing 10 changed files with 4,800 additions and 4,766 deletions.
1 change: 1 addition & 0 deletions src/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,7 @@ func AwsLookup(name string) interface{} {
"aws_quicksight_ingestion": awsQuicksightIngestion,
"aws_quicksight_template_alias": awsQuicksightTemplateAlias,
"aws_quicksight_vpc_connection": awsQuicksightVpcConnection,
"aws_s3_bucket_analytics_configuration": awsS3BucketAnalyticsConfiguration,
}

return TFLookup[name]
Expand Down
7 changes: 3 additions & 4 deletions src/coverage/aws.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# todo aws
# todo aws

Resource percentage coverage 73.63
Datasource percentage coverage 100.00
Resource percentage coverage 73.70
Datasource percentage coverage 100.00

./resource.ps1 aws_amplify_backend_environment
./resource.ps1 aws_amplify_webhook
Expand Down Expand Up @@ -304,7 +304,6 @@ Datasource percentage coverage 100.00
./resource.ps1 aws_route53profiles_profile
./resource.ps1 aws_route53profiles_resource_association
./resource.ps1 aws_rum_metrics_destination
./resource.ps1 aws_s3_bucket_analytics_configuration
./resource.ps1 aws_s3_directory_bucket
./resource.ps1 aws_s3_object_copy
./resource.ps1 aws_s3control_access_grants_instance_resource_policy
Expand Down
10 changes: 3 additions & 7 deletions src/coverage/azure.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# todo azure
# todo azure

Resource percentage coverage 4.64
Datasource percentage coverage 36.20
Resource percentage coverage 4.66
Datasource percentage coverage 36.20

./resource.ps1 azurerm_aadb2c_directory
./resource.ps1 azurerm_active_directory_domain_service
Expand Down Expand Up @@ -229,7 +229,6 @@ Datasource percentage coverage 36.20
./resource.ps1 azurerm_custom_provider
./resource.ps1 azurerm_dashboard
./resource.ps1 azurerm_dashboard_grafana
./resource.ps1 azurerm_dashboard_grafana_managed_private_endpoint
./resource.ps1 azurerm_data_factory
./resource.ps1 azurerm_data_factory_credential_service_principal
./resource.ps1 azurerm_data_factory_credential_user_managed_identity
Expand Down Expand Up @@ -282,7 +281,6 @@ Datasource percentage coverage 36.20
./resource.ps1 azurerm_data_protection_backup_instance_blob_storage
./resource.ps1 azurerm_data_protection_backup_instance_disk
./resource.ps1 azurerm_data_protection_backup_instance_kubernetes_cluster
./resource.ps1 azurerm_data_protection_backup_instance_mysql_flexible_server
./resource.ps1 azurerm_data_protection_backup_instance_postgresql
./resource.ps1 azurerm_data_protection_backup_instance_postgresql_flexible_server
./resource.ps1 azurerm_data_protection_backup_policy_blob_storage
Expand Down Expand Up @@ -860,8 +858,6 @@ Datasource percentage coverage 36.20
./resource.ps1 azurerm_static_web_app_custom_domain
./resource.ps1 azurerm_static_web_app_function_app_registration
./resource.ps1 azurerm_storage_account_local_user
./resource.ps1 azurerm_storage_account_queue_properties
./resource.ps1 azurerm_storage_account_static_website
./resource.ps1 azurerm_storage_blob
./resource.ps1 azurerm_storage_blob_inventory_policy
./resource.ps1 azurerm_storage_container_immutability_policy
Expand Down
12 changes: 3 additions & 9 deletions src/coverage/google.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# todo google
# todo google

Resource percentage coverage 19.25
Datasource percentage coverage 75.70
Resource percentage coverage 19.34
Datasource percentage coverage 75.94

./resource.ps1 google_access_context_manager_access_level_condition
./resource.ps1 google_access_context_manager_service_perimeter_dry_run_egress_policy
Expand Down Expand Up @@ -49,8 +49,6 @@ Datasource percentage coverage 75.70
./resource.ps1 google_apphub_workload
./resource.ps1 google_artifact_registry_vpcsc_config
./resource.ps1 google_assured_workloads_workload
./resource.ps1 google_backup_dr_backup_plan
./resource.ps1 google_backup_dr_backup_plan_association
./resource.ps1 google_backup_dr_backup_vault
./resource.ps1 google_backup_dr_management_server
./resource.ps1 google_beyondcorp_app_connection
Expand Down Expand Up @@ -357,7 +355,6 @@ Datasource percentage coverage 75.70
./resource.ps1 google_dataproc_cluster_iam_binding
./resource.ps1 google_dataproc_cluster_iam_member
./resource.ps1 google_dataproc_cluster_iam_policy
./resource.ps1 google_dataproc_gdc_application_environment
./resource.ps1 google_dataproc_gdc_service_instance
./resource.ps1 google_dataproc_job
./resource.ps1 google_dataproc_job_iam_binding
Expand Down Expand Up @@ -500,7 +497,6 @@ Datasource percentage coverage 75.70
./resource.ps1 google_healthcare_workspace
./resource.ps1 google_iam_access_boundary_policy
./resource.ps1 google_iam_deny_policy
./resource.ps1 google_iam_principal_access_boundary_policy
./resource.ps1 google_iam_workforce_pool
./resource.ps1 google_iam_workforce_pool_provider
./resource.ps1 google_iam_workload_identity_pool
Expand Down Expand Up @@ -619,7 +615,6 @@ Datasource percentage coverage 75.70
./resource.ps1 google_network_connectivity_regional_endpoint
./resource.ps1 google_network_connectivity_service_connection_policy
./resource.ps1 google_network_connectivity_spoke
./resource.ps1 google_network_management_vpc_flow_logs_config
./resource.ps1 google_network_security_address_group
./resource.ps1 google_network_security_address_group_iam_binding
./resource.ps1 google_network_security_address_group_iam_member
Expand Down Expand Up @@ -822,7 +817,6 @@ Datasource percentage coverage 75.70
./resource.ps1 google_apphub_discovered_workload -type data
./resource.ps1 google_artifact_registry_docker_image -type data
./resource.ps1 google_artifact_registry_locations -type data
./resource.ps1 google_backup_dr_backup_plan_association -type data
./resource.ps1 google_bigquery_tables -type data
./resource.ps1 google_certificate_manager_certificates -type data
./resource.ps1 google_cloud_identity_group_transitive_memberships -type data
Expand Down
3 changes: 3 additions & 0 deletions src/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -3033,3 +3033,6 @@ var awsQuicksightTemplateAlias []byte

//go:embed mapping/aws/resource/quicksight/aws_quicksight_vpc_connection.json
var awsQuicksightVpcConnection []byte

//go:embed mapping/aws/resource/s3/aws_s3_bucket_analytics_configuration.json
var awsS3BucketAnalyticsConfiguration []byte
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
{
"apply": [
"s3:GetBucketAnalyticsConfiguration",
"s3:PutBucketAnalyticsConfiguration"
],
"attributes": {
"tags": []
},
"destroy": [
"s3:DeleteBucketAnalyticsConfiguration"
],
"modify": [],
"plan": [
"s3:GetBucketAnalyticsConfiguration"
]
}
]
Loading

0 comments on commit 1dcf2df

Please sign in to comment.