Hi How do you define paramaters for resources in ...
# azure
t
Hi How do you define paramaters for resources in yaml file?
Copy code
config:
  azure-native:location: westeurope
  azure:skipProviderRegistration: "true"
  rdpd-dft:FunctionApp:
    FunctionAppServicePlan: asp-dft-weeu-ingest-dev-02
    FunctionApps:
      - FunctionAppName: func-dft-weeu-ingest-dev-02
        FunctionAppStorageAccount: strdftingestweeudev02
      - FunctionAppName: func-dft-weeu-ingest-logging-dev-02
        FunctionAppStorageAccount: strdftingestweeudev02
      - FunctionAppName: func-dft-weeu-persist-dev-02
        FunctionAppStorageAccount: strdftpersistweeudev2
  rdpd-dft:StorageAccounts:
    StorageAccounts:
      - strdftassetsvcweeudev2
      - strdftdevicevcweeudev2
      - strdftdatavcweeudev2
      - strdftuservcweeudev2
      - strdftpersistweeudev2
  rdpd-dft:FunctionAppServicePlans:
    FunctionAppServicePlans:
      - asp-dft-weeu-ingest-dev-02
      - asp-dft-weeu-persist-dev-02
I have this config, but I need to be more precise regarding parameters(like storage account, service plan based on each env). Do I need to create a block per each function name? like this:
Copy code
rdpd-dft:FunctionApp:func-dft-weeu-ingest-dev-02:
    FunctionAppServicePlan: asp-dft-weeu-ingest-dev-02
    FunctionAppName: func-dft-weeu-ingest-dev-02