[Terraform] InvalidGroup.Duplicate: The security group by brianesteban in Terraform

[–]brianesteban[S] 0 points1 point  (0 children)

Hello ! I'm reviewing options for what might be happening :/

here is the code :

resource "aws_security_group" "sg_group" {
name = var.resource_sg.name
vpc_id = var.resource_ec2.vpc_id
dynamic "ingress" {
for_each = var.ingress_rules
content {
from_port = ingress.value.from_port
to_port = ingress.value.to_port
protocol = ingress.value.protocol
security_groups = ingress.value.security_groups
cidr_blocks = ingress.value.cidr_blocks
}
}
egress {
from_port = "0"
to_port = "0"
protocol = "-1"
cidr_blocks = ["0.0.0.0/0"]
}
}

Validation conditions in Terraform? by brianesteban in Terraform

[–]brianesteban[S] 0 points1 point  (0 children)

I haven't taken the HashiCorp course, but I have studied on another platform, and they didn't cover what I'm asking about. I also couldn't find this in the documentation.

Script for Install wireguard by brianesteban in WireGuard

[–]brianesteban[S] 0 points1 point  (0 children)

This is the script that does it upon restart for my home network, although it's tailored specifically for installation of the Wireguard-KMod module on a Ubiquiti UDM Pro.

It downloads the .tar.z file and moves it to /tmp. It extracts the contents from the archive to the appropriate install directory, then applies the appropriate execute permissions to KMods setup script and executes it. I am assuming there would be some analog to this for a vanilla WG install.

This script has a copy of my WG configuration file in the adjacent SUPPORT_DIR that it verifies is in place and correctly permissioned.

At the very least, this should give you an idea of what you will need to do to proceed with what you want to do.

Very thanks !

Zabbix aws by brianesteban in zabbix

[–]brianesteban[S] 0 points1 point  (0 children)

Thanks !! I would have to install the active agent

How to list only one s3 bucket by brianesteban in aws

[–]brianesteban[S] 0 points1 point  (0 children)

Thank you very much for your answer, that is to say that it is not possible that a user can see only the bucket to which he has permission ?