Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #64

Merged
merged 8 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading