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

[Bug]: Unable to create AS2 protocol for AWS transfer Server #27689

Closed
Shravankumark opened this issue Nov 8, 2022 · 5 comments
Closed

[Bug]: Unable to create AS2 protocol for AWS transfer Server #27689

Shravankumark opened this issue Nov 8, 2022 · 5 comments
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/transfer Issues and PRs that pertain to the transfer service.

Comments

@Shravankumark
Copy link

Terraform Core Version

0.14.11

AWS Provider Version

4.24.0

Affected Resource(s)

aws_transfer_server

identity_provider_type = "SERVICE_MANAGED"
protocols = ["AS2","SFTP"]

Expected Behavior

AS2 protocol should be added to AWS transfer server.

Actual Behavior

AS2 protocol is not added to AWS transfer server.

Relevant Error/Panic Output Snippet

Error: error updating Transfer Server (s-d8edb35ec2c74e123): InvalidRequestException: As2Transport must be specified to enable AS2 protocol.

Terraform Configuration Files

resource "aws_transfer_server" "example" {
endpoint_type = "VPC"

endpoint_details {
subnet_ids = [aws_subnet.example.id]
vpc_id = aws_vpc.example.id
}

protocols = ["AS2","SFTP"]
certificate = aws_acm_certificate.example.arn

identity_provider_type = "SERVICE_MANAGED"
url = "${aws_api_gateway_deployment.example.invoke_url}${aws_api_gateway_resource.example.path}"
}

Steps to Reproduce

Create a aws transfer server with as2 protocol.

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

No

@Shravankumark Shravankumark added bug Addresses a defect in current functionality. needs-triage Waiting for first response or review from a maintainer. labels Nov 8, 2022
@github-actions
Copy link

github-actions bot commented Nov 8, 2022

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/transfer Issues and PRs that pertain to the transfer service. label Nov 8, 2022
@johnsonaj johnsonaj removed the needs-triage Waiting for first response or review from a maintainer. label Nov 8, 2022
@justinretzolk
Copy link
Member

Related #27695

@avizvaRumit
Copy link

avizvaRumit commented Dec 13, 2022

If we try to implement AS2 from scratch..terraform gives us this error..but once we enable AS2 manually in an already created transfer server..then delete the AS2 protocol manually and again try to implement AS2 using our terraform code..then it works fine...can someone give this a try?

@justinretzolk justinretzolk added enhancement Requests to existing resources that expand the functionality or scope. and removed bug Addresses a defect in current functionality. labels May 9, 2023
@justinretzolk
Copy link
Member

Closed via #28621

Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/transfer Issues and PRs that pertain to the transfer service.
Projects
None yet
Development

No branches or pull requests

4 participants