Skip to content

Commit

Permalink
Create a resource that depend on the provider in `crosstests.Configur…
Browse files Browse the repository at this point in the history
…e` (#2661)

This will hopefully help address
#2530.
  • Loading branch information
iwahbe authored Nov 25, 2024
1 parent f6e5260 commit bc33162
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/pf/tests/internal/cross-tests/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,12 @@ resource "` + providerName + `_res" "res" {}
"type": "pulumi:providers:" + providerName,
"properties": crosstests.ConvertResourceValue(t, puConfig),
},
"_": map[string]any{
"type": providerName + ":Res",
"options": map[string]any{
"provider": "${p}",
},
},
},
}

Expand Down

0 comments on commit bc33162

Please sign in to comment.