From f2a4e05efde3c2e2f11a1e9dd2d538c2e4ee5c03 Mon Sep 17 00:00:00 2001 From: Anton Tayanovskyy Date: Wed, 2 Aug 2023 13:28:22 -0400 Subject: [PATCH] Fix PF test to cover autonaming --- examples/plugin-framework/Pulumi.yaml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/examples/plugin-framework/Pulumi.yaml b/examples/plugin-framework/Pulumi.yaml index 6912d1a8e0c..912e6a858e9 100644 --- a/examples/plugin-framework/Pulumi.yaml +++ b/examples/plugin-framework/Pulumi.yaml @@ -5,12 +5,18 @@ outputs: {} resources: bucket-example: type: aws:s3:Bucket - resourceexplorer-example: - type: aws:resourceexplorer/index:Index - properties: - type: LOCAL + + # It turns out that resourceexplorer can only be provisioned once per region, creating conflicts if this test run in + # parallel. Perhaps not a great example. + # + # resourceexplorer-example: + # type: aws:resourceexplorer/index:Index + # properties: + # type: LOCAL + + # cidrcollection also tests auto-naming, it should get a random-suffixed name such as below, without specifying one: + # "name": "cidrcollection-example-8eb4b3b" + cidrcollection-example: type: aws:route53/cidrCollection:CidrCollection - properties: - name: collection-example variables: {}