This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#Расскомментируйте этот код,
#и внесите необходимые правки в версию и путь,
#чтобы работать с установленным вручную (не через hashicorp provider registry) провайдером
/*
terraform{
required_providers{
decort={
source="basis/decort/decort"
version="<VERSION>"
}
}
}
*/
provider"decort" {
authenticator="decs3o"
#controller_url = <DECORT_CONTROLLER_URL>
controller_url="https://ds1.digitalenergy.online"
#oauth2_url = <DECORT_SSO_URL>
oauth2_url="https://sso.digitalenergy.online"
allow_unverified_ssl=true
}
resource"decort_flipgroup" "fg" {
# ID аккаунта
# Обязательный параметр
# int
account_id=999
# Наименование Flipgroup
# Обязательный параметр
# string
name="flipgroup_name"
# Тип сети (EXTNET, ViNS)
# Обязательный параметр
# string
net_type="EXTNET"
# ID сети
# Обязательный параметр
# int
net_id=13
# Тип клиентов (в данный момент поддерживается только тип 'compute')