HI who can help to create "LoadBalancer" i have is...
# golang
o
HI who can help to create "LoadBalancer" i have issue in params Cannot convert expression of type '[]string' to type 'String' Golang
Copy code
type (
	S1LBConfig struct {
		LoadBalancer struct {
			Rules []struct {
				Lb struct {
					SecurityGroups           []string
					Subnets                  []string
				} 
			} 
		} 
	}
)

SecurityGroups:           pulumi.StringArray{pulumi.String(s1LoadBalancerConfig.LoadBalancer.Rules[k].Lb.SecurityGroups)},

Cannot convert expression of type '[]string' to type 'String'
l
There's an example of creating a load balancer in the docs: https://www.pulumi.com/docs/reference/pkg/aws/applicationloadbalancing/loadbalancer/ I you can share your full program I'd be happy to help figure out what's going on here.