Skip to content

Commit

Permalink
Merge pull request #1053 from ministryofjustice/poc/licence-manager-c…
Browse files Browse the repository at this point in the history
…hange

template change and time out increased
  • Loading branch information
markgov authored Dec 4, 2024
2 parents 6bc557e + d2fd5b4 commit 91e7319
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ Resources:
MemorySize: 256
Role: !GetAtt OracleDbLTSUtilityFunctionRole.Arn
Runtime: "python3.9"
Timeout: 60
Timeout: 900
Code:
ZipFile: !Sub |
import boto3
Expand Down Expand Up @@ -641,7 +641,7 @@ Resources:
# Determine what action to take.
if event['RequestType'] in ['Create', 'Update']:
print(event)
print(deploymentTargets)
for dt in deploymentTargets:
targetDeploymentList.extend(get_child_ou_ids(dt))
targetDeploymentList.append(dt)
Expand Down Expand Up @@ -694,7 +694,7 @@ Resources:
TargetKey: !Ref TargetKey
TargetValues: !Ref TargetValues
Schedule: !Ref Schedule
ServiceTimeout: 120
ServiceTimeout: 1000

OracleDbLTSOrchestrate:
Type: "AWS::SSM::Document"
Expand Down
2 changes: 1 addition & 1 deletion organisation-security/terraform/license-manager.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ resource "aws_cloudformation_stack" "oracleblts" {
aws_s3_object.oracle_db_lts_orch
]
timeouts {
create = "60m"
create = "120m"
update = "60m"
delete = "60m"
}
Expand Down

0 comments on commit 91e7319

Please sign in to comment.