Skip to content

Commit

Permalink
feat: remove option to call state machine directly
Browse files Browse the repository at this point in the history
  • Loading branch information
guiyom-e committed Jan 19, 2024
1 parent f4c2a86 commit c58d6a6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 61 deletions.
4 changes: 0 additions & 4 deletions lib/auto-update-ip-aws-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@ export class AutoUpdateIpStack extends Stack {
),
});

new CfnOutput(this, "UpdateIpSFNArn", {
value: stateMachine.stateMachineArn,
});

// IAM User to start the state machine
if (user !== undefined) {
const startSFNGroup = new Group(this, "StartUpdateIpSFNGroup", {
Expand Down
7 changes: 0 additions & 7 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ chmod 600 $SCRIPT_DIR/get_current_ip_api_url.cfg
echo $FETCH_IP_API_URL >$SCRIPT_DIR/get_current_ip_api_url.cfg
chmod 400 $SCRIPT_DIR/get_current_ip_api_url.cfg

# UPDATE IP SFN ARN
touch $SCRIPT_DIR/update_ip_state_machine_arn.cfg
chmod 600 $SCRIPT_DIR/update_ip_state_machine_arn.cfg
echo $UPDATE_IP_SFN_ARN >$SCRIPT_DIR/update_ip_state_machine_arn.cfg
chmod 400 $SCRIPT_DIR/update_ip_state_machine_arn.cfg
UPDATE_IP_state_machine_arn

# UPDATE IP API URL
touch $SCRIPT_DIR/update_ip_api_url.cfg
chmod 600 $SCRIPT_DIR/update_ip_api_url.cfg
Expand Down
50 changes: 0 additions & 50 deletions scripts/domain-auto-update/update-ip-sfn.sh

This file was deleted.

0 comments on commit c58d6a6

Please sign in to comment.