Skip to content

Commit

Permalink
Merge pull request #117 from aws-observability/fix/issueAMPEndpoint
Browse files Browse the repository at this point in the history
Fixing AMP Endpoint Issue
  • Loading branch information
elamaran11 authored Oct 9, 2023
2 parents 5960e95 + 4e13b46 commit b8c3685
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/existing-eks-opensource-observability-pattern/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions lib/single-new-eks-opensource-observability-pattern/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit b8c3685

Please sign in to comment.