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

client: customize dynamic port range #7399

Closed
wants to merge 1 commit into from

Conversation

prestonp
Copy link

Adds new configuration option to NetworkResource called dynamic_port_range for #1087.
This allows tasks to optionally override the default port range of 20000-32000.

Adds new configuration option to NetworkResource called `dynamic_port_range` for hashicorp#1087.
This allows tasks to optionally override the default port range of 20000-32000.
@hashicorp-cla
Copy link

hashicorp-cla commented Mar 20, 2020

CLA assistant check
All committers have signed the CLA.

dynamic_port_range {
min = 4000
max = 5000
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm throwing ideas in the air, but could it be something like static but accepting a list of ranges.

port "http" {}
port "https" {
  ranges = ["443","8443","4000-5000"]
}
port "lb" {
  static = "8889"
}

@notnoop
Copy link
Contributor

notnoop commented Jul 24, 2020

thank you @prestonp ! I see that this is getting superseded by #8478 . Closing this one and will review that PR. Thanks!

@notnoop notnoop closed this Jul 24, 2020
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, 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 Dec 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants