You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"fastly_service_acl_entries_v1" {
source="./modules/fastly/r/fastly_service_acl_entries_v1"# acl_id - (required) is a type of stringacl_id=null# service_id - (required) is a type of stringservice_id=nullentry=[{
comment =null
id =null
ip =null
negated =null
subnet =null
}]
}
variable"acl_id" {
description="(required) - The ID of the ACL that the items belong to"type=string
}
variable"service_id" {
description="(required) - The ID of the Service that the ACL belongs to"type=string
}
variable"entry" {
description="nested block: NestingSet, min items: 0, max items: 10000"type=set(object(
{
comment =string
id =string
ip =string
negated =bool
subnet =string
}
))
default=[]
}
resource"fastly_service_acl_entries_v1""this" {
# acl_id - (required) is a type of stringacl_id=var.acl_id# service_id - (required) is a type of stringservice_id=var.service_iddynamic"entry" {
for_each=var.entrycontent {
# comment - (optional) is a type of stringcomment=entry.value["comment"]
# ip - (required) is a type of stringip=entry.value["ip"]
# negated - (optional) is a type of boolnegated=entry.value["negated"]
# subnet - (optional) is a type of stringsubnet=entry.value["subnet"]
}
}
}