-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: remove credential rotation stack for release artifact CDK app (#162)
- Loading branch information
Showing
36 changed files
with
1 addition
and
1,209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,10 @@ | ||
#!/usr/bin/env python3 | ||
|
||
from aws_cdk import core | ||
from cdk.credential_rotation_stack import CredentialRotationStack | ||
from cdk.distribution_stack import DistributionStack | ||
|
||
app = core.App() | ||
|
||
distribution_stack = DistributionStack(app, "DistributionStack") | ||
|
||
bucket_arn = distribution_stack.s3.bucket.bucket_arn | ||
bucket_name = distribution_stack.s3.bucket.bucket_name | ||
cloudfront_distribution_id = distribution_stack.cloudfront.distribution.distribution_id | ||
arn_components = core.ArnComponents( | ||
resource="distribution/" + cloudfront_distribution_id, service="cloudfront", region="" | ||
) | ||
cloudfront_arn = core.Arn.format(components=arn_components, stack=distribution_stack) | ||
|
||
credential_rotation_stack = CredentialRotationStack( | ||
app, | ||
"CredentialRotationStack", | ||
bucket_name=bucket_name, | ||
bucket_arn=bucket_arn, | ||
cloudfront_distribution_id=cloudfront_distribution_id, | ||
cloudfront_arn=cloudfront_arn, | ||
) | ||
DistributionStack(app, "DistributionStack") | ||
|
||
app.synth() |
Empty file.
23 changes: 0 additions & 23 deletions
23
src/release_artifacts_resources/ios/cdk/cdk/credential_rotation/cloudwatch_construct.py
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
src/release_artifacts_resources/ios/cdk/cdk/credential_rotation/events_construct.py
This file was deleted.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
src/release_artifacts_resources/ios/cdk/cdk/credential_rotation/iam_construct.py
This file was deleted.
Oops, something went wrong.
68 changes: 0 additions & 68 deletions
68
src/release_artifacts_resources/ios/cdk/cdk/credential_rotation/lambda_construct.py
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
Empty file.
86 changes: 0 additions & 86 deletions
86
...ts_resources/ios/cdk/cdk/credential_rotation/lambda_functions/src/destination/circleci.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.