forked from Netflix/consoleme
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding aws organization cache account configuration (Netflix#9339)
Co-authored-by: Felipe Madeiros <[email protected]>
- Loading branch information
1 parent
d743fcf
commit 2b8821b
Showing
6 changed files
with
69 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{{- if .Values.cache_accounts_from_aws_organizations.enabled }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "consoleme.fullname" . }}-config-organization | ||
labels: | ||
{{- include "consoleme.labels" . | nindent 4 }} | ||
data: | ||
config_organization.yaml: | | ||
# ConsoleMe can cache account, org structure, and SCPs from AWS Organizations in one or more accounts | ||
cache_accounts_from_aws_organizations: | ||
# # This is the account ID of your AWS organizations master | ||
- organizations_master_account_id: "{{ .Values.cache_accounts_from_aws_organizations.organizations_master_account_id }}" | ||
# # This is the name of the role that consoleme will attempt to assume on your Organizations master account to retrieve | ||
# # account information. Ensure that ConsoleMe can assume this role, and that this role has the permissions: | ||
# # organizations:DescribeAccount | ||
# # organizations:DescribeOrganizationalUnit | ||
# # organizations:DescribePolicy | ||
# # organizations:ListAccounts | ||
# # organizations:ListChildren | ||
# # organizations:ListPolicies | ||
# # organizations:ListRoots | ||
# # organizations:ListTargetsForPolicy | ||
organizations_master_role_to_assume: "{{ .Values.cache_accounts_from_aws_organizations.organizations_master_role_to_assume }}" | ||
cache_cloud_accounts: | ||
from_aws_organizations: True | ||
{{- end }} |
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
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
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