Skip to content

add resilience hub module#366

Closed
korravin wants to merge 14 commits intomainfrom
add-resilience-hub-module
Closed

add resilience hub module#366
korravin wants to merge 14 commits intomainfrom
add-resilience-hub-module

Conversation

@korravin
Copy link
Contributor

@korravin korravin commented Jun 3, 2025

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

s3_client = boto3.client('s3')

# RPO-RTO resilience report temp file headers
with open('/tmp/resilience-report.csv', 'w', newline='') as file:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if there is any choice i would recommend using json for future compatibility

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

csv is helping to display the dashbaords ; in phase 2 we can plan json

@iakov-gan
Copy link
Contributor

- !Join [ '', !Split [ ' ', !Ref RegionsInScope ] ] # remove spaces
LambdaAnalyticsARN: !GetAtt LambdaAnalytics.Arn
AccountCollectorLambdaARN: !Sub "${AccountCollector.Outputs.LambdaFunctionARN}"
CodeBucket: !If [ ProdCFNTemplateUsed, !FindInMap [RegionMap, !Ref "AWS::Region", CodeBucket], !Ref CFNSourceBucket ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not think you need CodeBucket

Type: AWS::S3::Bucket
DeletionPolicy: Delete
Properties:
BucketName: !Sub ${Name}.${AWS::Region}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be in conflict with compute optimizer module

@korravin
Copy link
Contributor Author

@korravin please check lint.sh

https://github.com/aws-solutions-library-samples/cloud-intelligence-dashboards-data-collection/actions/runs/15642244787/job/44072091883?pr=366#step:7:45

Addressed

SohamMajumder and others added 7 commits June 17, 2025 10:24
…ance and Increasing timeout to 15 mins in lambda (#364)
* Data Collection logging phase 1

* codify new SF version name

* tweak account collector logging

* Sync account collector with fix for manual account list

* Add backoff/retry to standalone state machine

* add more retry buffer

* Misc cleanup

* Temporarily re-indent the over indent to make the diff easier to read

* Switch to pre-defined table

* Fix merge issue

* Merge main, normalize linked sf code file names

* Interim commit

* Checkpoint

* beta

* Pre-main merge instrumentation

* Post merge main and cleanup

* Fix misplaced space insertion

* Refine Health detail execution logging

* Add policy condition for CW logging

* Update data-collection/deploy/deploy-data-collection.yaml

* Tweak to output error message

* Scale back Lambda-based monitoring

* Renenable testing deploy of CaseSummary

* Misc cleanup for easier merge

* Misc cleanup for easier merge, 2

* Health SF correction from reversion of code

* Health mod cleanup

* Merge for push

* post-merge

* fix parameter

* Update data-collection/deploy/module-health-events.yaml

---------

Co-authored-by: Iakov Gan <iakov@amazon.com>
Co-authored-by: Iakov GAN <82834333+iakov-aws@users.noreply.github.com>
* Update deploy-data-collection.yaml

* refactor

* refactor
Co-authored-by: Iakov Gan <iakov@amazon.com>
DeletionPolicy: Delete
Properties:
BucketName: !Sub ${Name}.${AWS::Region}
BucketName: !Sub cid-data-${AWS::AccountId}.rh.${AWS::Region}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to respect Name

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed

Type: String
Description: Name of the S3 Bucket to be created to hold data information.
AllowedPattern: (?=^.{3,63}$)(?!^(\d+\.)+\d+$)(^(([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])\.)*([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])$)
ManagementRoleName:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need it on Payer account level or on Linked account level?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linked Account level

@iakov-gan iakov-gan closed this Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants