Uploaded image for project: 'OpenShift Installer'
  1. OpenShift Installer
  2. CORS-2073

Remove Terraform Random Provider

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Undefined
    • None
    • None
    • None
    • None
    • False
    • None
    • False
    • 3
    • Sprint 225

    Description

      As a developer, I would like to remove the random terraform provider because it is essentially unnecessary and would improve our build process.

       

      The random Terraform provider is used in Azure & Azure Stack to create a random string. This could easily be done in go code and passed in as a variable. 

      Removing an extra provider would decrease our build time and improve our build stability, which is often failing due to timeouts. 

       

      The random string is used here in Azure (and similarly in Azure Stack):

      https://github.com/openshift/installer/blob/master/data/data/azure/vnet/main.tf#L23-L27

       

      One approach would be to generate the string in tfvars and pass it in as a terraform variable.

      Attachments

        Activity

          People

            rna-afk Aditya Narayanaswamy
            padillon Patrick Dillon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: