billions-spoon-47372
08/12/2024, 3:50 PMaccess_logs = aws.lb.LoadBalancerAccessLogsArgs(
bucket=bucket_name,
prefix="",
enabled=True,
)
lb = aws.lb.LoadBalancer(
resource_name,
internal=False,
load_balancer_type=type,
security_groups=groups,
subnets=publicSubnetIds,
access_logs=access_logs,
)
modern-zebra-45309
08/12/2024, 4:07 PMbucket = aws.s3.Bucket(...)
and pass bucket.name
the bucket will be created prior to the load balancer.little-cartoon-10569
08/12/2024, 8:40 PMbillions-spoon-47372
08/12/2024, 8:43 PMbillions-spoon-47372
08/12/2024, 8:44 PM