Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
implementing the lambda function
Browse files Browse the repository at this point in the history
  • Loading branch information
vggonzal authored and vggonzal committed Aug 8, 2023
1 parent 44b2483 commit e6ac8fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ jobs:
echo ${{ env.THE_ENV }}
echo ${{ env.THE_VERSION }}
source bin/config.sh ${{ env.THE_ENV }}
aws iam delete-role --role-name service-hydrocron-api-sit-service-role
aws iam delete-role --role-name hydrocron-codebuild
#aws iam delete-role --role-name service-hydrocron-api-sit-service-role
#aws iam delete-role --role-name hydrocron-codebuild
terraform init -reconfigure -backend-config="bucket=podaac-services-${{ env.THE_ENV }}-terraform" -backend-config="region=us-west-2"
terraform plan -var-file=tfvars/${{ env.THE_ENV }}.tfvars -var="app_version=${{ env.THE_VERSION }}" -out="tfplan"
terraform apply -auto-approve tfplan
2 changes: 1 addition & 1 deletion terraform/hydrocron-lambda-iam.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#IAM roles
#IAM roles

resource "aws_iam_role" "hydrocron-service-role" {
name = "${local.ec2_resources_name}-service-role"
Expand Down

0 comments on commit e6ac8fe

Please sign in to comment.