The intent is to define terse, standards-supported names for AWS regions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# All new devices will have interface naming copied from the | |
# device-type template. For virtual chassis members this will be | |
# incorrect if they are not in the first position of the stack. This | |
# script will find and rename these interfaces. | |
from os import environ | |
from pprint import pprint | |
import pynetbox | |
from more_itertools import chunked |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "users" { | |
type = set(object({ | |
username = string | |
role = string | |
teams = set(string) | |
})) | |
} | |
locals { | |
user_team_memberships = flatten([ |