-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CDPCP-11561_2 - unifying image name field names over the object and s…
…chema
- Loading branch information
Showing
5 changed files
with
96 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,7 +113,7 @@ Required: | |
|
||
Optional: | ||
|
||
- `catalog` (String) | ||
- `catalog_name` (String) | ||
- `os` (String) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
examples/resources/cdp_datalake_azure_datalake/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// Copyright 2024 Cloudera. All Rights Reserved. | ||
// | ||
// This file is licensed under the Apache License Version 2.0 (the "License"). | ||
// You may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. | ||
// | ||
// This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS | ||
// OF ANY KIND, either express or implied. Refer to the License for the specific | ||
// permissions and limitations governing your use of the file. | ||
|
||
terraform { | ||
required_providers { | ||
cdp = { | ||
source = "cloudera/cdp" | ||
} | ||
} | ||
} | ||
|
||
resource "cdp_datalake_azure_datalake" "example" { | ||
datalake_name = "<value>" | ||
environment_name = "<value>" | ||
managed_identity = "<value>" | ||
storage_location_base = "<value>" | ||
} | ||
|
||
output "name" { | ||
value = cdp_datalake_azure_datalake.example.datalake_name | ||
} | ||
|
||
output "environment" { | ||
value = cdp_datalake_azure_datalake.example.environment_name | ||
} | ||
|
||
output "instance_profile" { | ||
value = cdp_datalake_azure_datalake.example.managed_identity | ||
} | ||
|
||
output "storage_bucket_location" { | ||
value = cdp_datalake_azure_datalake.example.storage_location_base | ||
} | ||
|
||
output "recipes" { | ||
value = cdp_datalake_azure_datalake.example.recipes | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters