Skip to content

Commit a0506d3

Browse files
committed
minor fixes for restrict-resources-by-module-source.sentinel
1 parent e537f11 commit a0506d3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

governance/third-generation/cloud-agnostic/restrict-resources-by-module-source.sentinel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ param restricted_resources default [
1818
"azurerm_storage_account",
1919
"azurerm_storage_container",
2020
"azurerm_storage_blob",
21-
21+
"google_storage_bucket",
22+
"google_storage_bucket_object",
2223
]
2324

2425
param allowed_module_sources default [

governance/third-generation/common-functions/tfconfig-functions/docs/get_module_source.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# get_module_source
22
This function finds the source of the module containing an item from its `module_address` using the [tfconfig/v2](https://www.terraform.io/docs/cloud/sentinel/import/tfconfig-v2.html) import.
33

4-
It does this by parsing `module_address` which will look like "module.A.module.B" if the item is not in the root module or "" if it is in the root module. It then finds the `module_call` in the parent module that calls the original module and then gets `module_source` from that module call.
4+
It does this by parsing `module_address` which will look like "module.A.module.B" if the item is not in the root module or "" if it is in the root module. It then finds the `module_call` in the parent module that calls the original module and then gets `source` from that module call.
55

66
## Sentinel Module
77
This function is contained in the [tfconfig-functions.sentinel](../../tfconfig-functions.sentinel) module.

0 commit comments

Comments
 (0)