https://platformengineering.org logo
Join the conversationJoin Slack
Channels
aws
azure
back-end
building-our-platform-engineering-team
chaos
documentation
envoys
envoyz
events
general
gitops
idp-architectural-design
idp-resources
intros
israel
it-meetups-organizers
jobs
kubernetes
loc-angola
loc-atlanta
loc-bangalore
loc-brazil
loc-canada
loc-dallas
loc-dcmetro
loc-france
loc-germany
loc-india
loc-irvine
loc-japan
loc-korea
loc-norway
loc-poland
loc-russia
loc-singapore
loc-vietnam
metrics
mychannel-
observability
outages
platform-coffee
platform-culture
platform-design
platform-engineering-in-edge-computing
platform-engineering-milan
platform-leadership
platform-stories
platform-tech
platformcon-news
platformk8sathome
platformscript
product_management
product-management
qualityassurance
security
serverless
support
team
terraform
test2
uk
verisure-commonservice-datastax
verisure-commonservice-datastax
Powered by Linen
terraform
  • a

    Akin

    04/29/2022, 5:27 AM
    Terragrunt is a terraform wrapper that supports keeping your tf configurations DRY https://terragrunt.gruntwork.io/
    👏 3
    j
    h
    • 3
    • 3
  • n

    Niv Weiss

    05/10/2022, 10:08 AM
    Hey 👋 Hey, I got this error while deploying
    aws-load-balancer-controller
    :
    Error: cannot patch "aws-load-balancer-controller" with kind ServiceAccount: ServiceAccount "aws-load-balancer-controller" is invalid: [metadata.annotations: Invalid value: "'<http://eks.amazonaws.com/role-arn|eks.amazonaws.com/role-arn>'": prefix part a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. '<http://example.com|example.com>', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'), metadata.annotations: Invalid value: "'<http://eks.amazonaws.com/role-arn|eks.amazonaws.com/role-arn>'": name part must consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName',  or 'my.name',  or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]')]
    It’s happening because of this:
    "serviceAccount.annotations.'eks\\.amazonaws\\.com/role-arn'"
    I’m trying to do the same as in helm (when I’m running it just with helm it’s work. This is what I run with helm:
    helm install aws-load-balancer-controller eks/aws-load-balancer-controller -n kube-system --set clusterName=staging --set serviceAccount.annotations.'eks\.amazonaws\.com/role-arn'="arn:aws:iam::12345678:role/alb-staging"
    and this is my TF code:
    resource "helm_release" "alb" {
      name       = "aws-load-balancer-controller"
      repository = "<https://aws.github.io/eks-charts>"
      chart      = "aws-load-balancer-controller"
      namespace  = "kube-system"
    
      set {
        name  = "clusterName"
        value = module.eks.cluster_name
      }
      set {
        name  = "serviceAccount.annotations.'eks\\.amazonaws\\.com/role-arn'"
        value = aws_iam_role.alb_role.arn
      }
    }
    I’m trying to understand how can I do the same as I do in helm (’\.“) on TF. someone have an idea?
    n
    • 2
    • 2
  • k

    Karolina Junčytė

    05/12/2022, 3:11 PM
    A great piece of reading about the basics of Terraform for everyone who’s debating To Terraform Or Not To Terraform. An article about configuration management in AWS. What benefits or drawbacks of Terraform would you add to what’s listed there?
  • l

    Luca Galante

    05/13/2022, 12:13 PM
    Hi! 👋 How can we make this channel better? Please share what you would be interested in reading about / seeing more here. 📹 More video tutorials ✍️ More long form content 🙃 Give me the memes
    🙃 1
    📹 1
    ✍️ 4
  • t

    Tim Fischer

    05/16/2022, 10:56 AM
    Why invest in Terraform Enterprise instead of using a semi simplified version of Terraform? Anyone has any experience with it?
    k
    a
    a
    • 4
    • 3
  • s

    Silvia Rhodes

    05/19/2022, 2:29 PM
    Found this comprehensive article on *Terraform* and *Ansible*, really liked the description, comparison and discussion. Do you agree that Terraform would be a better option for organizations working with cloud providers?
    💯 1
    p
    • 2
    • 1
  • d

    Dominic Walt

    05/24/2022, 1:54 PM
    Was it difficult for your teams to implement Terraform using AWS services?
    h
    l
    +2
    • 5
    • 8
  • d

    Damien Ricci

    05/30/2022, 11:58 AM
    A useful expert talk:

    Free your dev teams with Terraform and AWS Serverless▾

    👍 3
  • k

    Karolina Junčytė

    06/02/2022, 8:46 AM
    Hungry? 🍔 Then I have a suggestion for you: a great read about automating 🍕with Terraform. Because why not? 😄
    🍕 3
  • a

    Andy Kelly

    06/29/2022, 10:17 AM
    Hey all - i am trying to firm up a standard IaC pipeline for our enterprise and am struggling. There seem many ways to do this - and we have many ways internally which we're trying to standardise but each has it's own drawbacks: 1. multiple TFVARS files for envs (DEV, QA, STAGING, PROD) with multiple workspaces and a generic main.tf. This makes it difficult to test out different flavours of config safely given you're working on the main main.tf and it would be easy to push the change further. Also makes it harder when experimenting with Dev to make an urgent change elsewhere. 2. multiple config folders/repos. So a folder containing DEV config. A folder containing QA etc. Much better separation and you can make changes independently - but then you are repeating yourself and when you upgrade a module in DEV, you need to ensure you upgrade the same code in the QA, STAGING and PROD folders otherwise you have inconsistencies Especially interested to hear how people have configured this kind of workflow in Terraform Cloud. Thanks
    l
    j
    +2
    • 5
    • 6
  • a

    Adeel Ahmad

    07/05/2022, 7:55 PM
    @Gerald Yerden
  • a

    Alex Fitzgerald

    07/12/2022, 10:32 AM
    I checked the Platform Engineering YouTube channel and found this great video discussing the

    Terraform vs Pulumi vs SDK▾

    and really liked how @Andrew Fong listed the requirements their team was looking for prior to choosing the IaC tool. I am personally interested in Terraform and Pulumi and wanted to hear your opinion on their pros and cons. My +/- board looks something like this: Terraform • Highly expandable • Infrastructure deployment quick & reliable • Dry runs • Ability to generate dependency graphs • Storage and import function for existing architectures • Support of various cloud solutions • Collaboration and security features available only in expensive enterprise plans • Demanding entry • No rollback capability built-in Pulumi (some of them from Andrew’s slides): • Multiple languages • Testable • Oriented towards “coders” • Typed • Can be self-hosted • Great CLI • IDE support • The risk of duplication • The documentation isn't as abundant • Pricy Please share yours. Thanks in advance!
    m
    • 2
    • 7
  • d

    Dhiraj Narwani

    07/13/2022, 3:37 PM
    Hey guys, Anyone that is dabbling with Terraform at the moment, take a look at www.opslycloud.com. You can create configurations pretty much in a few minutes, and we're going to be launching an import soon where you can sync your Cloud accounts directly, generate the configurations and create templates from there. As well BYOC of terraform modules and use those. Here's a quick demo https://www.loom.com/share/bd67811e6d1140f4a5acd6ccfd0b305c
    👀 1
    h
    • 2
    • 2
  • t

    Terry Davis

    07/22/2022, 1:09 PM
    Our team is considering Terraform vs Pulumi to build out our IaC setup. Can folks here please share real life use cases and examples where Terraform and Pulumi made a big difference for your team? Thanks in advance.
    k
    c
    • 3
    • 3
  • f

    Fortunato

    07/26/2022, 12:45 PM
    Hi folks, I’m searching for Terraform Cloud alternatives and I am faced with this article about it. Does someone use some tools listed in this article? If yes, what is your impression?
    m
    a
    • 3
    • 3
  • m

    Manoj Kumar

    07/30/2022, 8:17 PM
    HI, Did anyone created a aurora cluster with terraform?
    l
    • 2
    • 3
  • d

    Dominic Walt

    08/11/2022, 1:34 PM
    Terraform and K8s `tools overlap somewhat in scope and one is not a replacement for the other`_._ There are a few paradigms given in this article that I found interesting about the intersection of K8s and Terraform. Might be interesting to you too.
  • c

    Cruise Hall

    08/14/2022, 8:52 PM
    ICYMI https://platformengin-b0m7058.slack.com/archives/C037UGSKMBP/p1660413848744179
  • l

    Lights On

    08/24/2022, 3:57 PM
    Hello everyone.
  • l

    Lights On

    08/24/2022, 3:58 PM
    #terraform Has anyone successfully setup composer 2 using terraform on GCP?
    j
    p
    • 3
    • 11
  • k

    Karolina Junčytė

    08/26/2022, 9:10 AM
    Very interesting article for everyone who thinks there’s room for improvement in Terraform (I bet everyone is on the same page as I am). The author writes about production grade IaC coding. https://medium.com/@anshuman2121/terraform-production-grade-iac-coding-9e22a43b2f96
  • k

    Karolina Junčytė

    08/29/2022, 4:55 PM
    Join the webinar with Mineiros’ @Soren Martius about common pitfalls teams fall into when handling Terraform at scale. Sören will explain: • How to properly structure your Terraform code so that it scales among thousands of managed resources • How to get automation right that enables a highly collaborative working environment • Best practices when it comes to supporting tooling for orchestration and code generation, policies, cost prediction, vulnerability and threat detection Join the webinar 👉https://www.meetup.com/platform-engineers-atx-online/events/287418292/
  • c

    Craig Rodrigues

    08/31/2022, 6:05 PM
    I found that Terraform in Action is a clearly written, enjoyable read. I especially liked the deeper explanation of functional programming. Does anyone else have Terraform book or blog post recommendations?
  • l

    Linda Shay

    09/08/2022, 1:39 PM
    Have you ever thought about who should write the Terraform? As the author indicates in this article, the answer is “it depends”. However, he points out some aspects that would help teams to make the right decision for them, such as: • Non-Negotiable Standards • Engineer Capability • Management Capability • Platform Team Capability • Time to Market Recommend to read
  • d

    Dominic Walt

    09/15/2022, 1:02 PM
    I just got to watch this webinar about

    Terraform at scale▾

    . Thumbs up and thanks to @Soren Martius for sharing useful practices for automation, code generation and threat detection. Recommend it to everyone working with Terraform.
    s
    • 2
    • 1
  • k

    Karolina Junčytė

    09/27/2022, 10:47 AM
    Successfully working self-service system for DevOps is probably the highest accomplishment point for platform engineers 💥 Join the webinar with Joern Stenkamp TODAY where he will show you how to enable self-service DevOps with Terraform Cloud and how it can scale for the enterprise, while striking the right balance between both sides.
    j
    • 2
    • 1
  • n

    Naya Kumar

    10/04/2022, 2:12 PM
    I’m preparing a presentation for my team about the benefits of IaC. I thought this community is a perfect place to ask for additional input. So far I came up with the following: • Timely and seamless • Speed and scalability • Reusability • Budget-friendly • Saves from discrepancies and failure • Improved consistency • Eliminates configuration drift • Improved security strategies Anything you’d add?
    j
    t
    +3
    • 6
    • 8
  • l

    Lights On

    10/11/2022, 11:24 PM
    Hello everyone. Has anyone run into this error before?
  • l

    Lights On

    10/12/2022, 1:53 PM
    I’ve change the instance name several time. It will show the new instance name with the same error message. https://GitHub.com/ccarrylab/aws-tf-amazon-connect
    m
    • 2
    • 11
  • l

    Lights On

    10/31/2022, 11:09 PM
    Has anyone successfully used Terraformer to import existing infrastructure from AWS? If so can you share the steps you followed.
    e
    a
    • 3
    • 4
Powered by Linen
Title
l

Lights On

10/31/2022, 11:09 PM
Has anyone successfully used Terraformer to import existing infrastructure from AWS? If so can you share the steps you followed.
I was able to find another solution, after what I trying initially wasn’t working. https://betterprogramming.pub/terraformer-converting-infrastructure-into-reusable-terraform-code-afe543ad0b15
e

Enrico La Cava

11/01/2022, 4:23 PM
I used it in the past and it was fine. It is good in conjunction with terramove
*not terramove, but tfautomv https://github.com/padok-team/tfautomv
a

Arthur Busser

11/03/2022, 7:55 AM
Glad to hear tfautomv was of help @Enrico La Cava 😉
View count: 83