diff --git a/lib/existing-eks-opensource-observability-pattern/index.ts b/lib/existing-eks-opensource-observability-pattern/index.ts index 88d08741..1fe4bac3 100644 --- a/lib/existing-eks-opensource-observability-pattern/index.ts +++ b/lib/existing-eks-opensource-observability-pattern/index.ts @@ -118,8 +118,8 @@ export default class ExistingEksOpenSourceobservabilityPattern { .account(account) .region(region) .version('auto') - .enableOpenSourcePatternAddOns() .withAmpProps(ampAddOnProps) + .enableOpenSourcePatternAddOns() .clusterProvider(importClusterProvider) .resourceProvider(blueprints.GlobalResources.Vpc, new blueprints.VpcProvider(vpcId)) // this is required with import cluster provider .resourceProvider(ampWorkspaceName, new blueprints.CreateAmpProvider(ampWorkspaceName, ampWorkspaceName)) diff --git a/lib/multi-acc-new-eks-mixed-observability-pattern/amp-monitoring.ts b/lib/multi-acc-new-eks-mixed-observability-pattern/amp-monitoring.ts index 6b02f09b..fbe1e29e 100644 --- a/lib/multi-acc-new-eks-mixed-observability-pattern/amp-monitoring.ts +++ b/lib/multi-acc-new-eks-mixed-observability-pattern/amp-monitoring.ts @@ -63,8 +63,8 @@ export default class AmpMonitoringConstruct { .account(account) .region(region) .version('auto') - .enableOpenSourcePatternAddOns() .withAmpProps(ampAddOnProps) + .enableOpenSourcePatternAddOns() .resourceProvider(ampWorkspaceName, new blueprints.CreateAmpProvider(ampWorkspaceName, ampWorkspaceName)) .addOns(...addOns) .teams(new team.TeamGeordi, new team.CorePlatformTeam); diff --git a/lib/single-new-eks-opensource-observability-pattern/gpu-index.ts b/lib/single-new-eks-opensource-observability-pattern/gpu-index.ts index 63f6e765..cdf5dda3 100644 --- a/lib/single-new-eks-opensource-observability-pattern/gpu-index.ts +++ b/lib/single-new-eks-opensource-observability-pattern/gpu-index.ts @@ -75,8 +75,8 @@ export default class SingleNewEksGpuOpenSourceObservabilityPattern { .account(account) .region(region) .version('auto') - .enableOpenSourcePatternAddOns() .withAmpProps(ampAddOnProps) + .enableOpenSourcePatternAddOns() .resourceProvider(ampWorkspaceName, new blueprints.CreateAmpProvider(ampWorkspaceName, ampWorkspaceName)) .clusterProvider( new blueprints.GenericClusterProvider({ diff --git a/lib/single-new-eks-opensource-observability-pattern/graviton-index.ts b/lib/single-new-eks-opensource-observability-pattern/graviton-index.ts index 18f0e0f8..f863162b 100644 --- a/lib/single-new-eks-opensource-observability-pattern/graviton-index.ts +++ b/lib/single-new-eks-opensource-observability-pattern/graviton-index.ts @@ -92,8 +92,8 @@ export default class SingleNewEksGravitonOpenSourceObservabilityPattern { .account(account) .region(region) .version('auto') - .enableOpenSourcePatternAddOns() .withAmpProps(ampAddOnProps) + .enableOpenSourcePatternAddOns() .resourceProvider(ampWorkspaceName, new blueprints.CreateAmpProvider(ampWorkspaceName, ampWorkspaceName)) .clusterProvider(new blueprints.MngClusterProvider(mngProps)) .addOns(...addOns) diff --git a/lib/single-new-eks-opensource-observability-pattern/index.ts b/lib/single-new-eks-opensource-observability-pattern/index.ts index 158c5540..77167e5b 100644 --- a/lib/single-new-eks-opensource-observability-pattern/index.ts +++ b/lib/single-new-eks-opensource-observability-pattern/index.ts @@ -99,11 +99,11 @@ export default class SingleNewEksOpenSourceobservabilityPattern { ObservabilityBuilder.builder() .account(account) .region(region) + .resourceProvider(ampWorkspaceName, new blueprints.CreateAmpProvider(ampWorkspaceName, ampWorkspaceName)) .version('auto') - .enableOpenSourcePatternAddOns() .withAmpProps(ampAddOnProps) - .resourceProvider(ampWorkspaceName, new blueprints.CreateAmpProvider(ampWorkspaceName, ampWorkspaceName)) + .enableOpenSourcePatternAddOns() .addOns(...addOns) .build(scope, stackId); } -} +} \ No newline at end of file