This example illustrates showcase the basic dataplex features.
It will:
- Create a lake
- Create a zone within that lake
- Create an asset within the zone that is within our lake
Name | Description | Type | Default | Required |
---|---|---|---|---|
assets | List of asset objects to create | list(object({ |
[] |
no |
project_id | The project to host your resources in | string |
n/a | yes |
location | The location to host your resources in | string |
n/a | yes |
lakes | List of lake objects to create | list(object({ |
[] |
no |
zones | List of zone objects to create | list(object({ |
[] |
no |
Name | Description |
---|---|
asset_self_links | Map of self links to the defined Dataplex assets |
asset_uids | Map of UIDs to the defined Dataplex assets |
lake_self_links | Map of self links to the defined Dataplex lakes |
lake_uids | Map of UIDs to the defined Dataplex lakes |
zone_self_links | Map of self links to the defined Dataplex zones |
zone_uids | Map of UIDs to the defined Dataplex zones |
See terraform.tfvars
for some of the example usage.
Remember the assets you discover must be in the same region(s) as the location policy of the lake/zone you create.