Add --dry-run option to aws s3api create-bucket
Describe the feature
It would be nice to have a --dry-run option for aws s3api create-bucket command, which would check the whole command meets the API Specification.
Of course this logic couldn't be guaranteed by the AWS API, but it would helps some usecases.
Use Case
I write the documentation for our internal operation which needs to create s3 bucket. I want to ensure the command is correct without creating bucket.
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
CLI version used
2.4.9
Environment details (OS name and version, etc.)
macOS 12.0.1
Hi @yugaraxy, thanks for reaching out. Requests to add --dry-run functionality to s3api calls are something we've seen in the past, so we have a few related issues that might cover your use case. It's worth noting that this is something that would need to be added by the S3 service team, rather than the CLI team. I think the best path forward is related to https://github.com/aws/aws-sdk/issues/393, which is a general request for adding this functionality to several s3api calls. There is an internal issue that the service team is using to track this request, and I can add your use case there. If that doesn't work for you, I can move this into our cross-SDK repository and raise a new issue with them. Thanks!
Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.
Can some please confirm if the --dryrun flag has been added to s3api delete-objects ? I am still getting "Unknown options: --dry-run" or "Unknown options: --dryrun"