Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWoolfenden committed Feb 1, 2024
2 parents 3a7a0dc + 384990e commit a9ce1bd
Show file tree
Hide file tree
Showing 87 changed files with 5,326 additions and 4,353 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ jobs:
run: go test ./... -coverprofile=./cover.out

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@41dd13387183a0c1e7e237138dc1cbd8e9c53f11 # v3.1.5
uses: codecov/codecov-action@edd20798ab377991aad21abfb1f2d5e093b681e8 # v4.0.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
14 changes: 1 addition & 13 deletions src/coverage/google.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
# todo google

Resource percentage coverage 15.31
Resource percentage coverage 14.13
Datasource percentage coverage 91.35

./resource.ps1 google_access_context_manager_access_level_condition
./resource.ps1 google_access_context_manager_service_perimeter_resource
./resource.ps1 google_active_directory_domain
./resource.ps1 google_active_directory_domain_trust
./resource.ps1 google_active_directory_peering
./resource.ps1 google_api_gateway_api
./resource.ps1 google_api_gateway_api_config
./resource.ps1 google_api_gateway_api_config_iam_binding
./resource.ps1 google_api_gateway_api_config_iam_member
./resource.ps1 google_api_gateway_api_config_iam_policy
./resource.ps1 google_api_gateway_api_iam_binding
./resource.ps1 google_api_gateway_api_iam_member
./resource.ps1 google_api_gateway_api_iam_policy
./resource.ps1 google_api_gateway_gateway
./resource.ps1 google_api_gateway_gateway_iam_binding
./resource.ps1 google_api_gateway_gateway_iam_member
./resource.ps1 google_api_gateway_gateway_iam_policy
./resource.ps1 google_apigee_addons_config
./resource.ps1 google_apigee_endpoint_attachment
./resource.ps1 google_apigee_env_keystore
Expand Down
17 changes: 17 additions & 0 deletions src/files_gcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,23 @@ var googleBigtableAppProfile []byte
//go:embed mapping/google/resource/bigtable/google_bigtable_gc_policy.json
var googleBigtableGcPolicy []byte

var googleApiGatewayApi []byte

//go:embed mapping/google/resource/apigateway/google_api_gateway_api_config.json
var googleApiGatewayApiConfig []byte

//go:embed mapping/google/resource/apigateway/google_api_gateway_api_config_iam.json
var googleApiGatewayApiConfigIam []byte

//go:embed mapping/google/resource/apigateway/google_api_gateway_api_iam.json
var googleApiGatewayApiIam []byte

//go:embed mapping/google/resource/apigateway/google_api_gateway_gateway.json
var googleApiGatewayGateway []byte

//go:embed mapping/google/resource/apigateway/google_api_gateway_gateway_iam.json
var googleApiGatewayGatewayIam []byte

//go:embed mapping/google/resource/spanner/google_spanner_database.json
var GoogleSpannerDatabase []byte

Expand Down
12 changes: 12 additions & 0 deletions src/gcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,18 @@ func GCPLookup(result string) interface{} {
"google_firebaserules_ruleset": googleFirebaserulesRuleset,
"google_bigtable_app_profile": googleBigtableAppProfile,
"google_bigtable_gc_policy": googleBigtableGcPolicy,
"google_api_gateway_api": googleApiGatewayApi,
"google_api_gateway_api_config": googleApiGatewayApiConfig,
"google_api_gateway_api_config_iam_binding": googleApiGatewayApiConfigIam,
"google_api_gateway_api_config_iam_member": googleApiGatewayApiConfigIam,
"google_api_gateway_api_config_iam_policy": googleApiGatewayApiConfigIam,
"google_api_gateway_api_iam_binding": googleApiGatewayApiIam,
"google_api_gateway_api_iam_member": googleApiGatewayApiIam,
"google_api_gateway_api_iam_policy": googleApiGatewayApiIam,
"google_api_gateway_gateway": googleApiGatewayGateway,
"google_api_gateway_gateway_iam_binding": googleApiGatewayGatewayIam,
"google_api_gateway_gateway_iam_member": googleApiGatewayGatewayIam,
"google_api_gateway_gateway_iam_policy": googleApiGatewayGatewayIam,
"google_spanner_database": GoogleSpannerDatabase,
"google_spanner_database_iam_binding": GoogleSpannerDatabaseIam,
"google_spanner_database_iam_member": GoogleSpannerDatabaseIam,
Expand Down
21 changes: 21 additions & 0 deletions src/mapping/google/resource/apigateway/google_api_gateway_api.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[
{
"apply": [
"apigateway.apis.create",
"apigateway.apis.delete",
"apigateway.apis.update",
"apigateway.apis.get",
"apigateway.operations.get"
],
"attributes": {
"tags": []
},
"destroy": [
"apigateway.apis.delete"
],
"modify": [
"apigateway.apis.update"
],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"apply": [
"apigateway.apiconfigs.get",
"apigateway.apiconfigs.create",
"apigateway.apiconfigs.delete",
"apigateway.apiconfigs.update"
],
"attributes": {
"tags": []
},
"destroy": [
"apigateway.apiconfigs.delete"
],
"modify": [
"apigateway.apiconfigs.update"
],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"apply": [
"apigateway.apiconfigs.getIamPolicy",
"apigateway.apiconfigs.setIamPolicy"
],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"apply": [
"apigateway.apis.setIamPolicy",
"apigateway.apis.getIamPolicy"
],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"apply": [
"apigateway.gateways.create",
"apigateway.gateways.delete",
"apigateway.gateways.update",
"apigateway.gateways.get"
],
"attributes": {
"tags": []
},
"destroy": [
"apigateway.gateways.delete"
],
"modify": [
"apigateway.gateways.update"
],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"apply": [
"apigateway.gateways.setIamPolicy",
"apigateway.gateways.getIamPolicy"
],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
11 changes: 11 additions & 0 deletions src/mapping/google/resource/google_bigquery_bi_reservation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
11 changes: 11 additions & 0 deletions src/mapping/google/resource/google_bigquery_connection.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"apply": [],
"attributes": {
"tags": []
},
"destroy": [],
"modify": [],
"plan": []
}
]
Loading

0 comments on commit a9ce1bd

Please sign in to comment.