Groups
Sign in
Groups
Terraform
Conversations
About
Send feedback
Help
Creating an Application Load Balancer in AWS with "kubernetes_service"
560 views
Skip to first unread message
Lucas Possamai
unread,
Mar 14, 2021, 7:43:24 PM
3/14/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to terrafo...@googlegroups.com
Hi all,
Why when I create the below resource, it creates a Classic Load Balancer, and not an ALB?
Thanks in advance!
resource
"kubernetes_service"
"nginx"
{
metadata
{
name
=
"nginx-example"
annotations
=
{
"
kubernetes.io/ingress.class
"
=
"alb"
}
}
spec
{
selector
=
{
App
= kubernetes_deployment.nginx.spec.
0
.template.
0
.metadata[
0
].labels.App
}
port
{
port
=
80
target_port
=
80
}
type
=
"LoadBalancer"
}
}
O K
unread,
Jul 21, 2021, 5:13:31 PM
7/21/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Terraform
Try to create it manually with kubectl and parameter --server-side --field-manager=Terraform
Reply all
Reply to author
Forward
0 new messages