add on TF files

This commit is contained in:
Lorenzo Caggioni 2022-02-01 06:41:33 +01:00
parent fc246b7f4b
commit d52507217e
18 changed files with 36 additions and 0 deletions

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Landing storage resources (Bigquery, Cloud PubSub, Cloud Storage)
locals {
lnd_bucket_retention_policy = {
retention_period = 7776000 # 90 * 24 * 60 * 60

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Landing project
locals {
group_iam_lnd = {
"${local.groups.data-engineers}" = [

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Load storage resources (Cloud Storage)
###############################################################################
# GCS #
###############################################################################

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Load project
locals {
group_iam_lod = {
"${local.groups.data-engineers}" = [

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Load VPC
###############################################################################
# Network #
###############################################################################

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Orchestration Cloud Composer definition
###############################################################################
# Composer #
###############################################################################

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Orchestration storage resources (Cloud Storage)
###############################################################################
# GCS #
###############################################################################

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Orchestration project
locals {
group_iam_orc = {
"${local.groups.data-engineers}" = [

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Orchestration VPC
###############################################################################
# Network #
###############################################################################

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Landing storage resources (Bigquery, Cloud Storage)
###############################################################################
# GCS #
###############################################################################

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Trasformation project
locals {
group_iam_trf = {
"${local.groups.data-engineers}" = [

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Trasformation VPC
###############################################################################
# Network #
###############################################################################

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Datalake storage resources (Bigquery, Cloud Storage)
###############################################################################
# BQ #
###############################################################################

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Datalake projects
locals {
group_iam_dtl = {
"${local.groups.data-engineers}" = [

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description Security project
locals {
group_iam_sec = {
"${local.groups.data-engineers}" = [

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description TODO
locals {
groups = { for k, v in var.groups : k => "${v}@${var.organization.domain}" }
groups_iam = { for k, v in local.groups : k => "group:${v}" }

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description TODO
output "bigquery-datasets" {
description = "BigQuery datasets."
value = {

View File

@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# tfdoc:file:description TODO
variable "composer_config" {
type = object({
ip_range_cloudsql = string