-
Notifications
You must be signed in to change notification settings - Fork 523
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
Add Azure storage costs (BlobStorage, StorageV1, QueueStorage) #2362
Conversation
aliscott
commented
Mar 17, 2023
•
edited
edited
- Adds BlobStorage costs
- Adds Storage v1 costs
- Adds Queue Storage costs with support for Storage v1 and Storage v2 accounts
a0123af
to
6d902ad
Compare
29d448d
to
531a3ae
Compare
531a3ae
to
aeea764
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I've tested a few of the components with the pricing calculator and it checks out, but I have not done exhaustively
internal/providers/terraform/azure/testdata/storage_account_test/storage_account_test.tf
Show resolved
Hide resolved
internal/providers/terraform/azure/testdata/storage_queue_test/storage_queue_test.tf
Show resolved
Hide resolved
} | ||
|
||
if validReplicationTypes != nil { | ||
return contains(validReplicationTypes, strings.ToUpper(r.AccountReplicationType)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would prefer map lookup but this probs reads better
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keeping this consistent with the existing storage account code.