-
Notifications
You must be signed in to change notification settings - Fork 112
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
dnat: allow different src/translated port #19
Conversation
Thanks @Boran - I have the ability to merge now, but just sorting out the tests so that we can run the full suite including PR against UKCloud infrastructure and check all acceptance tests pass etc. Working on that right now! |
Great. |
@Boran - with 0.10 you need to build the provider separately. Once you've ran, 'make build' - it will run 'go install' and place terraform-provider-vcd in the GOPATH/bin folder. You then need to run: terraform init That will load the provider for you to use :) |
Sure I did that, but it is not finding it. Which is why I created the .terraformrc. |
Hi @Boran - I now have tests passing on the master branch in HashiCorp's CI environment. Just looking at the best way to run the full suite against this pull request. Once that's sorted we should be a strong position to move things forward much more quickly in future! :) |
Excellent, thanks for your work! |
@Boran - happy days - all 9 tests passed. Merging. OK TestAccVcdVAppVm_Basic 10m:05s,879ms 9 |
org_test.go uses a real vcd connection
Initial issue
"vcd_dnat missing separate original and translated port in vCloud Director provider"
hashicorp/terraform#12384
Added a new (optional) param translated_port, keeping the existing port as the src port.
If translated_port is not specified use port - allows backward compatibility.
The name translated_port was selected because it is closer to the api and is less confusing than internal/external for example.
Based on PR for terraform hashicorp/terraform#14437, now in a separate provider repo.
The corresponding issue in govair is vmware-archive/govcloudair#37 and UKCloud/govcloudair#3