https://github.com/andrejmaya/cost-explorer-alternative
https://github.com/andrejmaya/cost-explorer-alternative
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/andrejmaya/cost-explorer-alternative
- Owner: andrejmaya
- Created: 2020-07-05T19:23:13.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-05T19:24:56.000Z (about 6 years ago)
- Last Synced: 2025-01-12T18:09:25.917Z (over 1 year ago)
- Language: Python
- Size: 1.73 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cost Explorer Alternative with AWS Quicksight

## Usage
* Sign in into your AWS master account with admin permissions
* Execute following SAM commands to build and deploy the cft
```
sam build
sam deploy --guided
```

* Get the output value `LambdaIAMRoleParameter` as show here

* Replace the placeholder `` in the following command with the value of the previous step and execute it
```
ROLE_ARN=
aws cloudformation create-stack-set \
--stack-set-name quicksight-data \
--template-body file://stackset_cft.yml \
--permission-model SERVICE_MANAGED \
--capabilities CAPABILITY_IAM \
--auto-deployment Enabled=true,RetainStacksOnAccountRemoval=true \
--parameters ParameterKey=LambdaIAMRoleParameter,ParameterValue=$ROLE_ARN \
--description "Create QuickSight Buckets in all linked account"
```
Now provide your OUs where you want to create the buckets for QuickSight data
```
ORG_UNITS=
aws cloudformation create-stack-instances \
--stack-set-name quicksight-data \
--deployment-targets OrganizationalUnitIds=$ORG_UNITS \
--regions eu-west-1
```
## Using Quicksight in the linked account
Read the document [Getting Started Linked Account](./GettingStartedLinkedAccount.md)