Adding support for azure static webapp

Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
This commit is contained in:
Sujay Pillai 2021-09-11 14:10:37 +08:00 committed by Sam Alba
parent 439fb4ee82
commit 48560b4546

View File

@ -21,6 +21,7 @@ TestRG: resourcegroup.#ResourceGroup & {
rgLocation: "eastus2" rgLocation: "eastus2"
} }
// rgName is obtained from above TestRG
TestSWA: staticwebapp.#StaticWebApp & { TestSWA: staticwebapp.#StaticWebApp & {
config: TestRG.config config: TestRG.config
rgName: "\(strings.Split(TestRG.id, "/")[4])" rgName: "\(strings.Split(TestRG.id, "/")[4])"