Skip to content

Add s3 datasources for bootstrap bucket. Add testing patterns.#2

Merged
jwitko merged 2 commits intomainfrom
feature/datasources-and-tests
Apr 3, 2022
Merged

Add s3 datasources for bootstrap bucket. Add testing patterns.#2
jwitko merged 2 commits intomainfrom
feature/datasources-and-tests

Conversation

@jwitko
Copy link
Copy Markdown
Contributor

@jwitko jwitko commented Mar 22, 2022

  • Move files to provider specific naming convention
  • Add datasources for bootstrap s3 bucket
  • Add variables for bootstrap s3 buckets
  • Add tests sub-directory with terraform for building required test objects and including universal test variables

@jwitko jwitko self-assigned this Mar 22, 2022
@jwitko jwitko force-pushed the feature/datasources-and-tests branch from 29bac72 to c98ea3e Compare March 22, 2022 20:04
@jwitko jwitko changed the title Add s3 datasources for metadata, bootstrap. Add testing patterns. Add s3 datasources for bootstrap bucket. Add testing patterns. Mar 22, 2022
@jwitko jwitko force-pushed the feature/datasources-and-tests branch from c98ea3e to 9a66dc2 Compare March 22, 2022 20:05
Comment thread ssh-keypairs.aws.tf
# Generate SSH keypair
resource "tls_private_key" "generated_ssh_key_pair" {
count = local.create_new_ssh_key ? 1 : 0
count = local.create_new_ssh_key ? 1 : 0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This generates a new key, and doesn't use var.ssh_public_key, yet it's count is based on length of var.ssh_public_key being > 0... I'm confused on exactly what the intent is here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That looks wrong. Should be == 0. Adding a new commit to fix and add comments to make it more clear.

Comment thread tests/aws-testing.tfvars Outdated
@jwitko jwitko merged commit c6ec346 into main Apr 3, 2022
@jwitko jwitko deleted the feature/datasources-and-tests branch April 3, 2022 16:50
@wolf31o2 wolf31o2 added this to the Development Milestone 1 milestone Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants