Octopus Cloud with Self hosted Github enterprise

Hi,
I am trying to use Octopus Deploy Cloud for our deployments to AWS. Our terraform code is in a self hosted github Enterprise inside our corporate network. In the AWS Account I have deployed a worker with tentacle installed. From this EC2 instance I am able to connect to our Github Enterprise.

Is it possible to use our github Enterprise in Octopus Cloud, or will I have to expose the our(self hosted) github to internet in order to connect from the Octopus Cloud.

Please let me know. Do you have any documentation on this configuration.

Thanks,
Zenith

Hey Zenith,

Thanks for reaching out.

My first instinct is to suggest using a GHA to package up the terraform and push it to Octopus whenever a change is made to it. Then you can use the package in Octopus’ built-in feed to run your terraform steps. Is that an option for you?

If that doesnt work and if you can guarantee that worker will be the one doing the work (via creating a worker pool where that worker is the only one in it), you should be able to utilize your on-prem GitHub that way. Keep in mind, it’s something that you would need to create yourself. You would need to write out the code to get the terraform code from the on-prem GitHub and then later utilize the terraform in a step.

Please let me know what you think.

Best,
Jeremy

Thanks Jeremy.

You’re very welcome! Please let me know if you run into any snags along the way.

If I don’t hear from you, I hope you have a great rest of your week!

Best,
Jeremy

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.