RepoDatabricks (DBRX)Databricks (DBRX)published Jun 6, 2023seen 5d

databricks/terraform-aws-tabular-storage-profile

HCL

Open original ↗

Captured source

source ↗

databricks/terraform-aws-tabular-storage-profile

Language: HCL

License: Apache-2.0

Stars: 2

Forks: 1

Open issues: 0

Created: 2023-06-06T15:51:21Z

Pushed: 2024-02-22T23:36:42Z

Default branch: main

Fork: no

Archived: no

README:

AWS Tabular Storage Profile Terraform module

Terraform module creates S3 Bucket, S3 Bucket configuration, and IAM Role resources on AWS and Storage Profile resource on Tabular.

Usage

provider aws {
region = var.region
}

provider tabular {
organization_id = var.organization_id
}

module "tabular_bucket" {
source = "tabular-io/tabular-storage-profile/aws"

bucket_name = "bucket-name"
external_id = var.organization_id
}

resource "tabular_s3_storage_profile" "example" {
region = var.region
s3_bucket_name = module.tabular_bucket.s3_bucket_name
role_arn = module.tabular_bucket.iam_role_arn
}

resource "tabular_warehouse" "example" {
name = "tabular-warehouse-name"
storage_profile = tabular_s3_storage_profile.example.id
}