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

Fix issue with Azure instance being inaccessible #336

Merged
merged 2 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azure/network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource "azurerm_public_ip" "public_ip" {
locals {
fw_tags = toset([ for key, value in var.firewall_rules: value.tag ])
fw_sets = {
for tags in distinct([for key, values in module.design.instances: toset(setintersection(values.tags, local.fw_tags))]):
for tags in distinct([for key, values in module.design.instances: toset(values.tags) if length(setintersection(values.tags, local.fw_tags)) > 0]):
join("-", toset(tags)) => toset(tags)
if length(tags) > 0
}
Expand Down
2 changes: 1 addition & 1 deletion common/configuration/puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ runcmd:
# Install required packages in runcmd instead of packages to speedup configuration
# of the admin user. This reduces the risk of Terraform timing out when trying to
# upload the terraform_data.yaml
dnf -y install git pciutils unzip
dnf -y install git pciutils unzip rsync
dnf -y remove cockpit\* firewalld --exclude=iptables
%{ if ! skip_upgrade ~}
# Upgrade all packages except Puppet if already installed
Expand Down
Loading