You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add github-actions ip addresses on datasource github_ip_ranges #351
Hi @benesis002 I'm not exactly sure what you are after in this request - based on your TF modules I'm guessing you need the IP addresses for some whitelist to allow deployment?
I don't believe that the Github Meta API makes available the IP addresses it uses for hosted runners, though some digging has revealed that they are hosted on Azure and use the public IP addresses of the MS datacentres.
Does this help your use case? If not are you able to provide some more context around what you require the IP addresses for?
Hi @benesis002 I'm not exactly sure what you are after in this request - based on your TF modules I'm guessing you need the IP addresses for some whitelist to allow deployment?
I don't believe that the Github Meta API makes available the IP addresses it uses for hosted runners, though some digging has revealed that they are hosted on Azure and use the public IP addresses of the MS datacentres.
Does this help your use case? If not are you able to provide some more context around what you require the IP addresses for?
Hello,
Yes, i want to use this datasource result to create firewall rules.
And yes maybe github action use Azure serverless service, so Github don't have a public ip address static list :/
This would be a great feature. Right now I'm forced to either remove network security rules, or wrap my terraform apply in a bash script which manually adds the current IP. But then terraform will surely remove the new IP when it applies the configuration. So I'll have to pass the current IP into terraform as well. It's messy and hard to maintain
👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!
👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!
Activity
benj-fletch commentedon Apr 1, 2020
Hi @benesis002 I'm not exactly sure what you are after in this request - based on your TF modules I'm guessing you need the IP addresses for some whitelist to allow deployment?
I don't believe that the Github Meta API makes available the IP addresses it uses for hosted runners, though some digging has revealed that they are hosted on Azure and use the public IP addresses of the MS datacentres.
Does this help your use case? If not are you able to provide some more context around what you require the IP addresses for?
bkamin29 commentedon Apr 1, 2020
Hello,
Yes, i want to use this datasource result to create firewall rules.
And yes maybe github action use Azure serverless service, so Github don't have a public ip address static list :/
elliotchaim commentedon Sep 17, 2020
This would be a great feature. Right now I'm forced to either remove network security rules, or wrap my
terraform applyin a bash script which manually adds the current IP. But then terraform will surely remove the new IP when it applies the configuration. So I'll have to pass the current IP into terraform as well. It's messy and hard to maintaindodwmd commentedon Jan 20, 2021
A work around until it's supported:
github-actions commentedon Dec 10, 2022
👋 Hey Friends, this issue has been automatically marked as
stalebecause it has no recent activity. It will be closed if no further activity occurs. Please add theStatus: Pinnedlabel if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!github-actions commentedon Apr 24, 2024
👋 Hey Friends, this issue has been automatically marked as
stalebecause it has no recent activity. It will be closed if no further activity occurs. Please add theStatus: Pinnedlabel if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!