Command to reset apt sources in Ubuntu:
printf 'deb http://archive.ubuntu.com/ubuntu %s main multiverse universe restricted\n' "$(lsb_release -sc)"{,-security} > /etc/apt/sources.list
Command to reset apt sources in Ubuntu:
printf 'deb http://archive.ubuntu.com/ubuntu %s main multiverse universe restricted\n' "$(lsb_release -sc)"{,-security} > /etc/apt/sources.list
I found this great article on terraform.io on how to setup API's in Fortigate devices. This was difficult to find documentation about so I figured I would call out the good job that they did in publishing this guide.
https://registry.terraform.io/providers/fortinetdev/fortios/latest/docs/guides/fgt_token