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

Green side can advertise multiple networks #2

Open
bsrodrigs opened this issue Mar 29, 2022 · 0 comments
Open

Green side can advertise multiple networks #2

bsrodrigs opened this issue Mar 29, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@bsrodrigs
Copy link
Owner

bsrodrigs commented Mar 29, 2022

  • Change bgpd.conf template
  • Escape '\n' char
#Auxiliar variables
p12 =  replace(tostring(join("", [for p in local.green_prefixes : join("", [local.green_prefixes_config_string, " ", "network ", p, "\n" ]) ])), "/", "BACKSLASH")
green_prefixes = concat(module.green_vpc.public_subnets_cidr_blocks, module.green_vpc.private_subnets_cidr_blocks, var.green_additonal_prefixes_advertise)
green_prefixes_config_string = "" 

variable "green_additonal_prefixes_advertise" {
  type        = list(any)
  default     = []
  description = "(Optional) Green subnets are automatically advertised. In addition to those them, you can advertise other sunets by adding their CIDR to this list."
}
@bsrodrigs bsrodrigs added the enhancement New feature or request label Mar 29, 2022
bsrodrigs added a commit that referenced this issue Mar 29, 2022
# This is the 1st commit message:

Change logic for ssh security group (#4)

* Change logic for ssh security group

* [MegaLinter] Apply linters fixes

Co-authored-by: bsrodrigs <[email protected]>
# The commit message #2 will be skipped:

# Fix ssh security group (#5)
#
bsrodrigs added a commit that referenced this issue Mar 29, 2022
# This is the 1st commit message:

# This is a combination of 2 commits.
# This is the 1st commit message:

Change logic for ssh security group (#4)

* Change logic for ssh security group

* [MegaLinter] Apply linters fixes

Co-authored-by: bsrodrigs <[email protected]>
# The commit message #2 will be skipped:

# Fix ssh security group (#5)
#

# The commit message #2 will be skipped:

# Fix merge conflict
bsrodrigs added a commit that referenced this issue Mar 29, 2022
# This is the 1st commit message:

# This is a combination of 2 commits.
# This is the 1st commit message:

Change logic for ssh security group (#4)

* Change logic for ssh security group

* [MegaLinter] Apply linters fixes

Co-authored-by: bsrodrigs <[email protected]>
# The commit message #2 will be skipped:

# Fix ssh security group (#5)
#

# The commit message #2 will be skipped:

# Fix merge conflict

# The commit message #3 will be skipped:

# Change logic for ssh security group (#4)
#
# * Change logic for ssh security group
# 
# * [MegaLinter] Apply linters fixes
# 
# Co-authored-by: bsrodrigs <[email protected]>

# The commit message #4 will be skipped:

# Fix ssh security group (#5)
#
bsrodrigs added a commit that referenced this issue Mar 29, 2022
# This is the 1st commit message:

Fix merge conflicts

# This is the commit message #2:

# This is a combination of 2 commits.
# This is the 1st commit message:

Change logic for ssh security group (#4)

* Change logic for ssh security group

* [MegaLinter] Apply linters fixes

Co-authored-by: bsrodrigs <[email protected]>
# The commit message #2 will be skipped:

# Fix ssh security group (#5)
#

# This is the commit message #3:

Fix merge conflict
bsrodrigs added a commit that referenced this issue Mar 30, 2022
# This is the 1st commit message:

# This is a combination of 2 commits.
# This is the 1st commit message:

Change logic for ssh security group (#4)

* Change logic for ssh security group

* [MegaLinter] Apply linters fixes

Co-authored-by: bsrodrigs <[email protected]>
# The commit message #2 will be skipped:

# Fix ssh security group (#5)
#

# The commit message #2 will be skipped:

# Fix merge conflict

# The commit message #3 will be skipped:

# Change logic for ssh security group (#4)
#
# * Change logic for ssh security group
# 
# * [MegaLinter] Apply linters fixes
# 
# Co-authored-by: bsrodrigs <[email protected]>

# The commit message #4 will be skipped:

# Fix ssh security group (#5)
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant