8000 [Issue] Tag is also required to create the elastic IP · Issue #3943 · boto/boto · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

[Issue] Tag is also required to create the elastic IP #3943

Open
yang-wang11 opened this issue Aug 3, 2022 · 1 comment
Open

[Issue] Tag is also required to create the elastic IP #3943

yang-wang11 opened this issue Aug 3, 2022 · 1 comment

Comments

@yang-wang11
Copy link

Please see the AWS official guide for allocate-address; there is allowed to assign a tag for the IP address (--t 9073 ag-specifications).

  allocate-address
[--domain <value>]
[--address <value>]
[--public-ipv4-pool <value>]
[--network-border-group <value>]
[--customer-owned-ipv4-pool <value>]
[--dry-run | --no-dry-run]
[--tag-specifications <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

boto/boto/ec2/connection.py

Lines 1830 to 1834 in 91ba037

if domain is not None:
params['Domain'] = domain
if dry_run:
params['DryRun'] = 'true'

However, I hit the following errors when I passed the TagSpecification to the client.

@yang-wang11
Copy link
Author
yang-wang11 commented Aug 3, 2022

@danielgtaylor
@garnaat
@jamesls
@kdaily
@kopertop
@kyleknap
@mfschwartz
Could you mind taking your time to look into this issue?
if you do not agree to replace domain=None, dry_run=False with params: dict to improve the flexibility, do you mind adding another parameter TagSpecifications for the function allocate_address? thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0