File tree Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+
3+ # Copyright 2022 Cloudera, Inc. All Rights Reserved.
4+ #
5+ # Licensed under the Apache License, Version 2.0 (the "License");
6+ # you may not use this file except in compliance with the License.
7+ # You may obtain a copy of the License at
8+ #
9+ # http://www.apache.org/licenses/LICENSE-2.0
10+ #
11+ # Unless required by applicable law or agreed to in writing, software
12+ # distributed under the License is distributed on an "AS IS" BASIS,
13+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+ # See the License for the specific language governing permissions and
15+ # limitations under the License.
16+
117datahub :
218 compute :
319 aws :
6985 suffix :
7086env :
7187 aws :
88+ arn_partition : aws | aws-cn | aws-us-gov (See https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
7289 policy :
7390 name :
7491 bucket_access :
Original file line number Diff line number Diff line change 11---
22
3- # Copyright 2021 Cloudera, Inc. All Rights Reserved.
3+ # Copyright 2022 Cloudera, Inc. All Rights Reserved.
44#
55# Licensed under the Apache License, Version 2.0 (the "License");
66# you may not use this file except in compliance with the License.
@@ -106,6 +106,7 @@ plat__cdp_xaccount_account_id: "{{ env.cdp.cross_account.account_
106106
107107# AWS
108108plat__aws_profile : " {{ common__aws_profile }}"
109+ plat__aws_arn_partition : " {{ env.aws.arn_partition | default('aws') }}"
109110plat__aws_vpc_id : " {{ common__aws_vpc_id }}"
110111plat__aws_public_subnet_ids : " {{ common__aws_public_subnet_ids }}"
111112plat__aws_private_subnet_ids : " {{ common__aws_private_subnet_ids }}"
Original file line number Diff line number Diff line change 11---
22
3- # Copyright 2021 Cloudera, Inc. All Rights Reserved.
3+ # Copyright 2022 Cloudera, Inc. All Rights Reserved.
44#
55# Licensed under the Apache License, Version 2.0 (the "License");
66# you may not use this file except in compliance with the License.
3535 - regexp : ' \${STORAGE_LOCATION_BASE}'
3636 replace : " {{ plat__storage_name }}"
3737 - regexp : ' \${DATALAKE_BUCKET}'
38- replace : " {{ plat__storage_name }}"
38+ replace : " {{ plat__storage_name }}"
39+ - regexp : ' \${ARN_PARTITION}'
40+ replace : " {{ plat__aws_arn_partition }}"
You can’t perform that action at this time.
0 commit comments