-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[WIP]Transfer Server Support VPC Endpoint Type #11751
Conversation
Having issues with this as describing the transfer server returns an empty list of eip association ids. |
One thing I noticed, probably you know already. I tried to launch sftp from console. With this feature AWS launched VPC endpoint automatically, I did not expect that, I had to attach security group to that vpc endpoint afterwards. |
Im stuck with the same problem as the previous poster. After creating a sftp server with endpoint style "vpc" there is no way to change/attach security groups with terraform, since one can not change the network interfaces nor get the endpoint resource to attach new security groups. Or do I get something wrong here? |
@DrFaust92 according to the doc you can use EndpointDetails/AddressAllocationIds only during UpdateServer calls. Maybe this is the reason why you're obtaining an empty list during the describe? @bazimov @ChristianPe since a vpc endpoint is internally created by AWS when using VPC Endpoint Type, maybe we can create a vpce manually in Terraform and set that inside the SFTP Server resource during creation, so that AWS doesn't create one by himself. With this we can add SGs directly to the vpce as usual. (NOTE: I haven't tried this, I'm just making assumptions). |
@marcoreni, i think that's the reason as well, albeit its a stupid one IMO for AWS to do this. for the second comment, that wont work as you cant specify an endpoint when the type is |
What is the progress on this? |
c3caf20
to
317e67f
Compare
just to update all that are expecting this, the AWS API for transfer server doesn't return the IPs allocated to it and causes a perpetual diff. i dont want to mix another api all to EC2 services for this. |
@DrFaust92 I'm not sure what issues you're seeing exactly but I have it fully working here #12599. Including support for the VPCE SG. |
33fb8d5
to
8e9e7a0
Compare
@sshearn ill take a look again edit, you seem to have removed your comment(?) but i still cant read these resources:
AddressAllocationIds is empty |
A thought, adding an additional update call in the read func to get the IPs. I would really hate to do it but I'll give it a go |
Closing in favor of #12599 |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Closes #11724
Closes #11569
Closes #11593
Release note for CHANGELOG:
Output from acceptance testing: