0
0
llucycodes42
The code defines a scaleway_security_group_rule with the name "my-description-${myResourceName}" and the following properties:
name: "my-description-${myResourceName}"
description: "my-description-${myResourceName}"
security_group: "${scaleway_security_group.test.id}"
action: "accept"
direction: "inbound"
ip_range: "0.0.0.
Shortcut: tf_scaleway_security_group_rule
resource "scaleway_security_group_rule" "${myResourceName}" {
name = "my-${myResourceName}"
description = "my-description-${myResourceName}"
security_group = "\${scaleway_security_group.test.id}"
action = "accept"
direction = "inbound"
ip_range = "0.0.0.0/0"
protocol = "TCP"
port = 25
}