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

[Docs]: Resource: aws_customer_gateway - ip_address argument is marked as optional #37553

Open
peterbratu opened this issue May 15, 2024 · 3 comments
Labels
bug Addresses a defect in current functionality. documentation Introduces or discusses updates to documentation. good first issue Call to action for new contributors looking for a place to start. Smaller or straightforward issues. service/vpnsite Issues and PRs that pertain to the vpnsite service.

Comments

@peterbratu
Copy link

Documentation Link

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/customer_gateway#ip_address

Description

Not specifying ip_address parameter in the aws_customer_gateway resource results in this error:
Error: creating EC2 Customer Gateway: MissingParameter: The request must contain the parameter ipAddress

References

No response

Would you like to implement a fix?

None

@peterbratu peterbratu added the documentation Introduces or discusses updates to documentation. label May 15, 2024
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@github-actions github-actions bot added the service/vpnsite Issues and PRs that pertain to the vpnsite service. label May 15, 2024
@terraform-aws-provider terraform-aws-provider bot added the needs-triage Waiting for first response or review from a maintainer. label May 15, 2024
@peterbratu peterbratu changed the title [Docs]: Resource: **aws_customer_gateway** _ip_address_ argument is marked as optional [Docs]: Resource: aws_customer_gateway - ip_address argument is marked as optional May 15, 2024
@justinretzolk justinretzolk added bug Addresses a defect in current functionality. good first issue Call to action for new contributors looking for a place to start. Smaller or straightforward issues. and removed needs-triage Waiting for first response or review from a maintainer. labels May 16, 2024
@CodeSinghh
Copy link
Contributor

I have read this issue thoroughly and I want to solve this ✍️

@dthvt
Copy link
Contributor

dthvt commented May 23, 2024

ip_address is optional. Customer Gateways using public key authentication instead of pre-shared key do not require static IP address.

See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateCustomerGateway.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Addresses a defect in current functionality. documentation Introduces or discusses updates to documentation. good first issue Call to action for new contributors looking for a place to start. Smaller or straightforward issues. service/vpnsite Issues and PRs that pertain to the vpnsite service.
Projects
None yet
Development

No branches or pull requests

4 participants