Skip to content

Commit d1ca096

Browse files
Removing Deprecations (#585)
- Removing unused cfn-response - Replacing cdk.core.stringValue with uncachedString.
1 parent 403b6b8 commit d1ca096

File tree

5 files changed

+1
-89
lines changed

5 files changed

+1
-89
lines changed

src/core/runtime/src/get-dns-endpoint-ips.ts

Lines changed: 0 additions & 68 deletions
This file was deleted.

src/core/runtime/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ export { handler as addScpStep } from './add-scp-step';
33
export { handler as addRoleToServiceCatalogStep } from './add-role-to-service-catalog-step';
44
export { handler as addTagsToSharedResourcesStep } from './add-tags-to-shared-resources-step';
55
export { handler as enableTrustedAccessForServicesStep } from './enable-trusted-access-for-services-step';
6-
export { handler as getDnsEndpointIps } from './get-dns-endpoint-ips';
76
export { handler as loadAccountsStep } from './load-accounts-step';
87
// export { handler as loadConfigurationStep } from './load-configuration-step';
98
export { handler as loadLandingZoneConfigurationStep } from './configuration/load-landing-zone-config';

src/core/runtime/src/utils/cfn-response.ts

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
export { sendResponsePromise as sendResponse } from './cfn-response';

src/lib/cdk-accelerator/src/core/accelerator-name-generator.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ export interface CreateNameProps {
8888
* @param name
8989
*/
9090
export function createName(props: CreateNameProps = {}): string {
91-
// eslint-disable-next-line deprecation/deprecation
92-
return cdk.Lazy.stringValue({
91+
return cdk.Lazy.uncachedString({
9392
produce: (context: cdk.IResolveContext) => {
9493
const { scope } = context;
9594
const { name, account, region, suffixLength, separator = DEFAULT_SEPARATOR } = props;

0 commit comments

Comments
 (0)