Skip to content

Commit

Permalink
Merge pull request #63 from nops-io/aws-release-0.4.1
Browse files Browse the repository at this point in the history
Aws release 0.4.1
  • Loading branch information
mk-th authored Oct 30, 2023
2 parents 106e7fc + e444c0d commit 04c72cd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 26 deletions.
2 changes: 1 addition & 1 deletion nops-aws-account-register/Release_Version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.4.0
v0.4.1
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Parameters:

pGithubReleaseVersion:
Type: String
Default: v0.4.0
Default: v0.4.1
Description: github release version.

Resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Parameters:

s3prefix:
Type: String
Default: something
Default: nopsbilling
Description: nOps daily generated reports folder prefix.

BucketName:
Expand All @@ -30,7 +30,7 @@ Parameters:

pGithubReleaseVersion:
Type: String
Default: v0.4.0
Default: v0.4.1
Description: github release version.

Resources:
Expand Down Expand Up @@ -237,27 +237,6 @@ Resources:
aws:SourceArn: !Sub "arn:aws:cur:${AWS::Region}:${AWS::AccountId}:definition/*"
aws:SourceAccount: !Sub "${AWS::AccountId}"

nopsReportDefinition:
Type: AWS::CUR::ReportDefinition
DependsOn:
- nopsBucketForLogs
- BucketPolicy
Properties:
AdditionalArtifacts:
- "REDSHIFT"
- "QUICKSIGHT"
AdditionalSchemaElements:
- "RESOURCES"
Compression: "GZIP"
RefreshClosedReports: true
Format: "textORcsv"
ReportName: !Ref ReportName
ReportVersioning: "OVERWRITE_REPORT"
S3Bucket: !Ref nopsBucketForLogs
S3Prefix: !Ref s3prefix
S3Region: !Sub "${AWS::Region}"
TimeUnit: "DAILY"

nopsLambdaExecutionRole:
Type: "AWS::IAM::Role"
Properties:
Expand Down Expand Up @@ -293,7 +272,7 @@ Resources:
Role: !GetAtt nopsLambdaExecutionRole.Arn
Runtime: "python3.9"
Timeout: 150
FunctionName: "generate-external-id"
FunctionName: "nops-generate-external-id-${AWS::Region}"
DependsOn:
- nopsLambdaExecutionRole
- rTriggerCopyAccRegPackage
Expand Down

0 comments on commit 04c72cd

Please sign in to comment.