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

feat: Add module for Secure Storage Connector #52

Merged
merged 7 commits into from
Feb 28, 2023

Conversation

elainaRenee
Copy link
Contributor

No description provided.

@elainaRenee elainaRenee requested a review from a team February 15, 2023 21:52
@@ -18,7 +18,7 @@ variable "cluster_version" {
type = string
default = "1.21"
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting

@@ -96,7 +96,7 @@ module "aurora" {
instance_class = var.instance_class
instances = { 1 = {} }

autoscaling_enabled = false
autoscaling_enabled = false
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting

Copy link
Contributor

@zacharyblasczyk zacharyblasczyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks great! Just a few reviews:

modules/secure_storage_connector/main.tf Show resolved Hide resolved
@@ -0,0 +1,69 @@
# Weights & Biases Secure Storage Connector Module
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this meant to replace the BYOB example?

Maybe we should update that example to point at this implementation?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, they are pretty much the same, but you need to grant access to a different AWS account. I will update the BYOB example in a follow up.

Comment on lines 1 to 7
output "bucket_name" {
value = module.file_storage.bucket_name
}

output "bucket_arn" {
value = module.file_storage.bucket_arn
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've starting perforing this approach, but up to you!

Suggested change
output "bucket_name" {
value = module.file_storage.bucket_name
}
output "bucket_arn" {
value = module.file_storage.bucket_arn
}
output "bucket" {
value = module.file_storage
}

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment on lines 9 to 11
output "bucket_kms_key_arn" {
value = var.create_kms_key ? aws_kms_key.key[0].arn : null
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same idea here, return the entire object

@elainaRenee elainaRenee merged commit 8f07c99 into main Feb 28, 2023
@elainaRenee elainaRenee deleted the elaina/add-byob-module branch February 28, 2023 17:33
jsbroks pushed a commit that referenced this pull request Feb 28, 2023
## [1.11.0](v1.10.5...v1.11.0) (2023-02-28)

### Features

* Add module for Secure Storage Connector ([#52](#52)) ([8f07c99](8f07c99))
@jsbroks
Copy link
Member

jsbroks commented Feb 28, 2023

This PR is included in version 1.11.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants