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

increase length clientRequestToken for 33char min #844

Closed
wants to merge 1 commit into from

Conversation

Cipher27
Copy link

With the old string of 'ansible-create-%s', anyone who uses this module to create a cluster with a name < 18 characters will encounter an InvalidParameterError

SUMMARY

AWS Updated this parameter to require a minimum of 33 chars.

Unaware of existing issue for this, I encountered it today and couldnt find much online.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

aws_eks_cluster.py module

ADDITIONAL INFORMATION

Without this fix, any cluster created using this module, with a cluster name < 18 characters, will encounter the following error:
"Couldn't create cluster <cluster_name>: An error occurred (InvalidParameterException) when calling the CreateCluster operation: The client request token parameter must be between 33 and 126 characters."

AWS Updated this parameter to require a minimum of 33 chars.
With the old string of 'ansible-create-%s', anyone who uses this module to create a cluster with a name < 18 characters will encounter an InvalidParameterError
@Cipher27 Cipher27 closed this Dec 24, 2021
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
…s#844)

Tagging - add docs fragment and update guidelines

SUMMARY
As discussed in the last working group meeting.  Adding a doc fragment and updating the guidelines to make purge_tags=True the preferred behaviour.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
docs/docsite/rst/dev_guidelines.rst
plugins/doc_fragments/tags.py
ADDITIONAL INFORMATION

Reviewed-by: Felix Fontein <[email protected]>
Reviewed-by: Mark Chappell <None>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Sandra McCann <[email protected]>
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
…ons#845)

Tagging - switch simplest cases to use doc fragment

Depends-On: ansible-collections#844
SUMMARY
Switch the simplest tagging cases over to using the docs fragment
ISSUE TYPE

Docs Pull Request
Feature Pull Request

COMPONENT NAME
plugins/modules/aws_s3.py
plugins/modules/ec2_eni.py
plugins/modules/ec2_group.py
plugins/modules/ec2_vpc_dhcp_option.py
plugins/modules/ec2_vpc_igw.py
plugins/modules/ec2_vpc_nat_gateway.py
plugins/modules/ec2_vpc_subnet.py
plugins/modules/elb_classic_lb.py
plugins/modules/s3_bucket.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
…ansible-collections#848)

ec2_vpc_net - Deprecate purge_tags=False and support management by ID

Depends-On: ansible-collections#844
SUMMARY
Deprecate purge_tags=False and support managing VPCs by ID which lets us change tags
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
ec2_vpc_net
ADDITIONAL INFORMATION

 Integration test for management by ID

Reviewed-by: Markus Bergholz <[email protected]>
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
…#846)

Tagging - deprecate defaults of purge_tags=False

Depends-On: ansible-collections#844
SUMMARY
The simple cases where we want to deprecate purge_tags=False
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_ami.py
plugins/modules/ec2_key.py
plugins/modules/ec2_vol.py
plugins/modules/ec2_vpc_endpoint.py
plugins/modules/ec2_vpc_route_table.py
ADDITIONAL INFORMATION

Reviewed-by: Gonéri Le Bouder <[email protected]>
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
ec2_instance - deprecate purge_tags=False

Depends-On: ansible-collections#844
SUMMARY
Deprecate purge_tags=False for ec2_instance
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
plugins/modules/ec2_instance.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
tagging docs fragment - comment cleanup (C&P)

SUMMARY
When creating the docs fragment in ansible-collections#844 the comment above the fragments was left behind from the fragment I used as a base, tweak the comment.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
plugins/doc_fragments/tags.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
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.

1 participant