How to manage your existing Fortigate Firewall objects using terraform

Поделиться
HTML-код
  • Опубликовано: 16 окт 2024
  • НаукаНаука

Комментарии • 8

  • @meghangordon-megcassovo7891
    @meghangordon-megcassovo7891 23 дня назад

    I actually love you

  • @JustSomeGuyWithaHouse
    @JustSomeGuyWithaHouse Год назад

    Great vid, thanks! The provider documentation isn't explaining this well enough.

    • @letmetechyou
      @letmetechyou  Год назад

      Yea no problem. Glad it was able to help. Let me know if you have any other questions

  • @camftnt4272
    @camftnt4272 Год назад +1

    Hi Kevin, Is there an easy way to import a significant number of previously defined address objects? I couldn't imagine importing 100+ objects one by one:
    terraform import fortios_firewall_address.addr1 addr1
    terraform import fortios_firewall_address.differentaddr different_name_convention
    etc.

    • @letmetechyou
      @letmetechyou  Год назад

      The imports are usually 1 to 1 imports for resources but there may be a way to possibly use a for_each in the code and pass in a list of some sort but its something i might actually try and test out. I'll let you know if I get something to work.

    • @kenchiloba2921
      @kenchiloba2921 Год назад

      @@letmetechyou hi , did you find a way to import the resources in bulk ?

    • @gonfreeccss
      @gonfreeccss Год назад +1

      ​@@kenchiloba2921​I have the same question, it would be really helpful if possible

    • @MikeButash
      @MikeButash 2 месяца назад

      @@kenchiloba2921 Funny, this is exactly what got me looking for help videos on terraform too - I don't want to import any ONE object, I want ALL objects (and anything related) to build a baseline to make changes from there.
      Its seems a chicken and egg problem where we as network/security folks have infrastructure with existing configurations we need to import as a whole, all things, and then modify (or make a template for something else) from there, but automation tools never seem understand this concept of dealing with something preexisting, or at least not well.