You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Cloud Intelligence Dashboards Framework provides AWS customers with [more then 2
26
26
* Advanced Dashboards - Require CID Data Collection and CUR
27
27
* Additional Dashboards - Require various custom datasources or created for very specific use cases.
28
28
29
-
We recommend starting with deployment of [Foundational Dashboards](https://docs.aws.amazon.com/guidance/latest/cloud-intelligence-dashboards/dashboard-foundational.html). Then deploy [Data Collection](https://docs.aws.amazon.com/guidance/latest/cloud-intelligence-dashboards/data-collection.html) and [Advanced Dashboards](https://docs.aws.amazon.com/guidance/latest/cloud-intelligence-dashboards/dashboards.html#advanced-dashboards). Check for [Additional](https://docs.aws.amazon.com/guidance/latest/cloud-intelligence-dashboards/dashboards.html#additional-dashboards) Dashboards.
29
+
We recommend starting with deployment of [Foundational Dashboards](https://docs.aws.amazon.com/guidance/latest/cloud-intelligence-dashboards/dashboard-foundational.html). Then deploy [Data Collection](https://docs.aws.amazon.com/guidance/latest/cloud-intelligence-dashboards/data-collection.html) and [Advanced Dashboards](https://docs.aws.amazon.com/guidance/latest/cloud-intelligence-dashboards/dashboards.html#advanced-dashboards). Check for [Additional](https://docs.aws.amazon.com/guidance/latest/cloud-intelligence-dashboards/dashboards.html#additional) Dashboards.
@@ -156,4 +156,4 @@ See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more inform
156
156
This library is licensed under the MIT-0 License. See the [LICENSE](LICENSE) file.
157
157
158
158
## Notices
159
-
Dashboards and their content: (a) are for informational purposes only, (b) represents current AWS product offerings and practices, which are subject to change without notice, and (c) does not create any commitments or assurances from AWS and its affiliates, suppliers or licensors. AWS content, products or services are provided “as is” without warranties, representations, or conditions of any kind, whether express or implied. The responsibilities and liabilities of AWS to its customers are controlled by AWS agreements, and this document is not part of, nor does it modify, any agreement between AWS and its customers.
159
+
Dashboards and their content: (a) are for informational purposes only, (b) represents current AWS product offerings and practices, which are subject to change without notice, and (c) does not create any commitments or assurances from AWS and its affiliates, suppliers or licensors. AWS content, products or services are provided “as is” without warranties, representations, or conditions of any kind, whether express or implied. The responsibilities and liabilities of AWS to its customers are controlled by AWS agreements, and this document is not part of, nor does it modify, any agreement between AWS and its customers.
Copy file name to clipboardExpand all lines: terraform/cicd-deployment/README.md
+70Lines changed: 70 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -315,6 +315,76 @@ This is the recommended approach for testing and development environments when y
315
315
316
316
</details>
317
317
318
+
<details>
319
+
<summary><b>How do I deploy resources manually to specific accounts?</b></summary>
320
+
321
+
For users who need granular control over deployment or want to deploy resources manually to specific accounts, you can split the Terraform module into individual components:
322
+
323
+
### Manual Deployment Steps:
324
+
325
+
1. **Split the main.tf file** into separate files for each stack:
326
+
```
327
+
data-exports-destination.tf # For Data Collection account
328
+
data-exports-source.tf # For Payer account
329
+
dashboards.tf # For Data Collection account
330
+
```
331
+
332
+
2. **Create separate variable files**for each component:
333
+
```
334
+
variables-destination.tf
335
+
variables-source.tf
336
+
variables-dashboards.tf
337
+
```
338
+
339
+
3. **Split outputs.tf** into component-specific output files:
340
+
```
341
+
outputs-destination.tf
342
+
outputs-source.tf
343
+
outputs-dashboards.tf
344
+
```
345
+
346
+
4. **Configure separate provider configurations**for each account:
347
+
```hcl
348
+
# For Payer account deployment
349
+
provider "aws" {
350
+
region = "us-east-1"
351
+
# Payer account credentials
352
+
}
353
+
354
+
# For Data Collection account deployment
355
+
provider "aws" {
356
+
region = "us-east-1"
357
+
# Data Collection account credentials
358
+
}
359
+
```
360
+
361
+
5. **Deploy in sequence**:
362
+
```bash
363
+
# Step 1: Deploy Data Exports Destination (Data Collection account)
- **Cross-account references**: You'll need to manually manage cross-account resource references
380
+
- **State management**: Consider using separate state files for each account
381
+
- **Credentials**: Manually switch AWS credentials/profiles between deployments
382
+
- **Complexity**: This approach requires advanced Terraform knowledge and careful coordination
383
+
384
+
**Note**: Manual deployment is significantly more complex than the automated cross-account approach provided by this module. We recommend using the standard module unless you have specific requirements that necessitate manual control.
0 commit comments