Skip to content

Commit

Permalink
chore: binary searching the C# issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt committed Nov 21, 2023
1 parent d36040a commit 1bf9144
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/csharp/documentation/IteratorStack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ public IteratorStack(Construct scope, string name) : base(scope, name)
}
});
MapTerraformIterator s3BucketConfigurationIterator = MapTerraformIterator.FromMap(configuration.AsAnyMap);
// S3Bucket s3Buckets = new S3Bucket(this, "complex-iterator-buckets", new S3BucketConfig
// {
// ForEach = s3BucketConfigurationIterator,
// Bucket = s3BucketConfigurationIterator.GetString("name"),
// Tags = s3BucketConfigurationIterator.GetMap("tags")
// });
S3Bucket s3Buckets = new S3Bucket(this, "complex-iterator-buckets", new S3BucketConfig
{
ForEach = s3BucketConfigurationIterator,
Bucket = s3BucketConfigurationIterator.GetString("name"),
// Tags = s3BucketConfigurationIterator.GetMap("tags")
});

// This would be TerraformIterator.fromDataSources for data_sources
// TerraformIterator s3BucketsIterator = TerraformIterator.FromResources(s3Buckets);
Expand Down

0 comments on commit 1bf9144

Please sign in to comment.