Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add waiter for ControlTower Baseline Operation #4068

Closed
2 tasks
kclinden opened this issue Mar 28, 2024 · 3 comments
Closed
2 tasks

Add waiter for ControlTower Baseline Operation #4068

kclinden opened this issue Mar 28, 2024 · 3 comments
Assignees
Labels
feature-request This issue requests a feature. investigating This issue is being investigated and/or work is in progress to resolve the issue. p3 This is a minor priority issue

Comments

@kclinden
Copy link

Describe the feature

Enabling a baseline in control tower needs to wait for baselines to be status SUCCEEDED. Setup a waiter for this so that it doesn't have to be done manually.

Use Case

enabling baselines for several OUs in control tower

def wait_for_baseline_operation(operation_id, region):
ct_client = boto3.client('controltower', region_name=region)
try:
waiter = ct_client.get_waiter('baseline_operation_complete')
waiter.wait(
BaselineId='arn:aws:controltower:'+region+'::baseline/17BSJV3IGJ2QSGA2',
OperationId=operation_id
)

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

1.34.50

Environment details (OS name and version, etc.)

macOS 14.3.1 (23D60)

@kclinden kclinden added feature-request This issue requests a feature. needs-triage This issue or PR still needs to be triaged. labels Mar 28, 2024
@kclinden
Copy link
Author

Would like a Waiter that waits on the status of an Baseline resource to be SUCCEEDED.

Duplicate of #4036 which i missed a response to so it was closed.

@RyanFitzSimmonsAK RyanFitzSimmonsAK self-assigned this Mar 28, 2024
@RyanFitzSimmonsAK RyanFitzSimmonsAK added investigating This issue is being investigated and/or work is in progress to resolve the issue. p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Mar 28, 2024
@RyanFitzSimmonsAK
Copy link
Contributor

Hi @kclinden, thanks for reaching out. I've reached out to the ControlTower team with this feature request. In the meantime, as this is a service team issue, I've made a tracking issue in our cross-SDK repository. Please refer to that issue for future updates.

Copy link

github-actions bot commented Apr 9, 2024

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request This issue requests a feature. investigating This issue is being investigated and/or work is in progress to resolve the issue. p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

2 participants