Commit Graph

17689 Commits

Author SHA1 Message Date
hc-github-team-secure-vault-core aa7b7ad951
backport of commit c3741b0177056d9e999ff03a6542a4811508fa9a (#21485)
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2023-06-27 15:54:28 -04:00
hc-github-team-secure-vault-core 0e8ded4936
backport of commit bcd7083d94532a143fb49f92621d2c7a448dcd71 (#21481)
Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
2023-06-27 18:39:17 +00:00
hc-github-team-secure-vault-core 32beec61bc
backport of commit fd1683698bad3556d21e783a26ec1bca5d0de671 (#21477)
Co-authored-by: Ryan Cragun <me@ryan.ec>
2023-06-27 16:58:02 +00:00
hc-github-team-secure-vault-core 649715eeb4
backport of commit e3b3c7a8de6f7c3c240ecf798470bbb24c2aaf60 (#21468)
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-06-27 13:14:38 +00:00
hc-github-team-secure-vault-core 324557f57e
enos: use on-demand targets (#21459) (#21464)
Add an updated `target_ec2_instances` module that is capable of
dynamically splitting target instances over subnet/az's that are
compatible with the AMI architecture and the associated instance type
for the architecture. Use the `target_ec2_instances` module where
necessary. Ensure that `raft` storage scenarios don't provision
unnecessary infrastructure with a new `target_ec2_shim` module.

After a lot of trial, the state of Ec2 spot instance capacity, their
associated APIs, and current support for different fleet types in AWS
Terraform provider, have proven to make using spot instances for
scenario targets too unreliable.

The current state of each method:
* `target_ec2_fleet`: unusable due to the fact that the `instant` type
  does not guarantee fulfillment of either `spot` or `on-demand`
  instance request types. The module does support both `on-demand` and
  `spot` request types and is capable of bidding across a maximum of
  four availability zones, which makes it an attractive choice if the
  `instant` type would always fulfill requests. Perhaps a `request` type
  with `wait_for_fulfillment` option like `aws_spot_fleet_request` would
  make it more viable for future consideration.
* `target_ec2_spot_fleet`: more reliable if bidding for target instances
  that have capacity in the chosen zone. Issues in the AWS provider
  prevent us from bidding across multiple zones succesfully. Over the
  last 2-3 months target capacity for the instance types we'd prefer to
  use has dropped dramatically and the price is near-or-at on-demand.
  The volatility for nearly no cost savings means we should put this
  option on the shelf for now.
* `target_ec2_instances`: the most reliable method we've got. It is now
  capable of automatically determing which subnets and availability
  zones to provision targets in and has been updated to be usable for
  both Vault and Consul targets. By default we use the cheapest medium
  instance types that we've found are reliable to test vault.

* Update .gitignore
* enos/modules/create_vpc: create a subnet for every availability zone
* enos/modules/target_ec2_fleet: bid across the maximum of four
  availability zones for targets
* enos/modules/target_ec2_spot_fleet: attempt to make the spot fleet bid
  across more availability zones for targets
* enos/modules/target_ec2_instances: create module to use
  ec2:RunInstances for scenario targets
* enos/modules/target_ec2_shim: create shim module to satisfy the
  target module interface
* enos/scenarios: use target_ec2_shim for backend targets on raft
  storage scenarios
* enos/modules/az_finder: remove unsed module

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
2023-06-26 16:54:39 -06:00
hc-github-team-secure-vault-core 45b8674d03
backport of commit df304012f3b3f4d7860b3bb3b58f844291495793 (#21457)
Co-authored-by: Anton Averchenkov <84287187+averche@users.noreply.github.com>
2023-06-26 14:42:40 -04:00
hc-github-team-secure-vault-core 5d2320170c
backport of commit a71cdb616567fbcd05c257ba3535d1e2297a9647 (#21445)
Co-authored-by: Jason O'Donnell <2160810+jasonodonnell@users.noreply.github.com>
2023-06-23 15:55:15 +00:00
hc-github-team-secure-vault-core 58287739ec
backport of commit 5de6af60760dbcbefd8c8e4eb923f74a5720cf13 (#21440)
Co-authored-by: Ryan Cragun <me@ryan.ec>
2023-06-23 04:48:54 +00:00
hc-github-team-secure-vault-core be67c16299
backport of commit 8d22142a3e9d13435b1a65685317fefba7e2f5b3 (#21421)
Co-authored-by: Ryan Cragun <me@ryan.ec>
2023-06-22 22:14:22 +00:00
hc-github-team-secure-vault-core cdd842289a
backport of commit 9290d5f18843f35bbab60c4030faf302f1c7f511 (#21429)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-06-22 21:17:30 +00:00
hc-github-team-secure-vault-core 05abd2c888
backport of commit e3dad5b6da871c82d8688467fcc7279f484c24d4 (#21425)
Co-authored-by: Shubham P <shubham.prajapat@sourcefuse.com>
2023-06-22 20:40:19 +00:00
hc-github-team-secure-vault-core a3e069e3d9
backport of commit 5d13092b038397d5970dcaa411c43defe993ab3a (#21422)
Co-authored-by: Doug Knight <doug.knight@karmix.org>
2023-06-22 13:19:01 -07:00
hc-github-team-secure-vault-core df5284e6cf
backport of commit 67927a1e9f0a2145b5a5a1e1a8d6d542fe16b25e (#21355)
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2023-06-22 19:25:48 +00:00
hc-github-team-secure-vault-core 5de4bea649
backport of commit e31ead37baadfd35f57bd9ef2ff4715e5bf5a46d (#21353)
Co-authored-by: Anton Averchenkov <84287187+averche@users.noreply.github.com>
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2023-06-22 18:30:17 +00:00
hc-github-team-secure-vault-core 02e1163a14
backport of commit 416dff8765aa8e546517bf0cad46bf7f6772e0f2 (#21415)
Co-authored-by: Meggie <meggie@hashicorp.com>
2023-06-22 18:28:13 +00:00
hc-github-team-secure-vault-core 5d4ab6d820
backport of commit 21bd774c675bffd2cf4093de86765bc04dc1c6f5 (#21417)
Co-authored-by: Rowan Smith <86935689+rowansmithhc@users.noreply.github.com>
2023-06-22 18:23:24 +00:00
hc-github-team-secure-vault-core ec6011be33
backport of commit 8e40823fe1cf40cecb1e004be29fde5fdb875bdb (#21416)
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2023-06-22 17:56:53 +00:00
hc-github-team-secure-vault-core e513a1355c
backport of commit 58b6cb1c42418d5eb2c5e0d3b1bc9d95b3e3a707 (#21410)
Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
2023-06-22 15:29:46 +00:00
hc-github-team-secure-vault-core 69053efc00
backport of commit 6157b5ffcb6e0fcd1d0823e4929bf50ef1b00bc8 (#20837)
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2023-06-21 22:56:07 +00:00
hc-github-team-secure-vault-core 0e266b7d03
backport of commit 774d75e63e2481f28f0890f2b4387303ac232755 (#21294)
Co-authored-by: Sarah Chavis <62406755+schavis@users.noreply.github.com>
2023-06-21 22:22:01 +00:00
hc-github-team-secure-vault-core 6496f6674f
backport of commit 4eed18cf49535b9445c25a39c62f7190321764af (#21358)
Co-authored-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-06-21 21:23:03 +00:00
hc-github-team-secure-vault-core b0b2e07f86
backport of commit 15aee2e0babebaeb7ef3c49fc6221a2bc08cd8fa (#21398)
Co-authored-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-06-21 17:06:16 -04:00
hc-github-team-secure-vault-core 352865372e
backport of commit eb634e93266f411db0e1476e638daf02aab6d0ec (#21394)
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-06-21 19:39:16 +00:00
Sarah Chavis 32982d73d2
[DOCS] Backport release notes updates (#21386)
* Backport initial release notes drafting

* Updates for GA
2023-06-21 17:42:11 +00:00
hc-github-team-secure-vault-core 056c1b11a3
backport of commit d8b811d8da56589ad1de0396d8d09a07c88fdb10 (#21385)
Co-authored-by: miagilepner <mia.epner@hashicorp.com>
2023-06-21 16:00:35 +00:00
hc-github-team-secure-vault-core d7795738eb
backport of commit 99cf3836b69149d00e7f5e83c2e623a0155dc252 (#21382)
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2023-06-21 10:14:05 -04:00
hc-github-team-secure-vault-core 36365ed7f4
backport of commit 3a46ecc389e9096ccea6c6f847b68ada7f8068d7 (#21362)
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2023-06-21 14:01:13 +00:00
hc-github-team-secure-vault-core c1e932ed20
backport of commit 17d63abdb1a8c0e0c3aaf649b34b4645d28dc17b (#21371)
Co-authored-by: Josh Black <raskchanky@gmail.com>
2023-06-20 21:19:13 +00:00
Hamid Ghaf 53491c8ed7
update version 1.14.1 (#21344) 2023-06-20 12:20:53 -07:00
hc-github-team-secure-vault-core ee92f78611
backport of commit f12c1285599a1519273bfa68472c598b1fd635bf (#21348)
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2023-06-19 11:40:23 -04:00
hc-github-team-secure-vault-core 100f402ac8
backport of commit 3908ec9dc44352548e08f4c86f9ad76c255ce493 (#21331)
Co-authored-by: Anton Averchenkov <84287187+averche@users.noreply.github.com>
2023-06-16 17:33:30 -04:00
hc-github-team-secure-vault-core 664860a8ca
backport of commit d76424cb53c730da5410ec55bff3274a01212843 (#21328)
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2023-06-16 19:41:06 +00:00
hc-github-team-secure-vault-core 09e9cffcb4
backport of commit 3347e5d56b363e58e7be556cfd0875a210c2a2ec (#21326)
Co-authored-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-06-16 17:37:55 +00:00
hc-github-team-secure-vault-core 1c44b797b2
backport of commit 30aac443d0037852b0a5e4b50d59a9bedc5e4445 (#21324)
Co-authored-by: miagilepner <mia.epner@hashicorp.com>
2023-06-16 13:10:36 -04:00
hc-github-team-secure-vault-core 92e2ae8897
backport of commit a1fdf105b3cc2e88483f3fca27729fa06bfbfa7f (#21312)
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2023-06-16 14:41:28 +00:00
hc-github-team-secure-vault-core 8068288873
backport of commit 41f392c43ff4c9077deb1d1640349b8ba867d139 (#21307)
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2023-06-16 09:04:23 -04:00
hc-github-team-secure-vault-core 13fdb8f9bf
backport of commit 042dd57811c900c9f6e2c85b5460d50560f79105 (#21295)
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
2023-06-15 21:47:54 +00:00
hc-github-team-secure-vault-core ec9fed4555
backport of commit 8cc7be234ac34ff0f703ab092a7314ba9e65b277 (#21293)
Co-authored-by: Matt Schultz <975680+schultz-is@users.noreply.github.com>
2023-06-15 21:15:01 +00:00
hc-github-team-secure-vault-core 3ddd7a14f0
backport of commit c5549cdac681676ae52ea173d737ee1c5d1949a2 (#21272)
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2023-06-15 20:41:45 +00:00
hc-github-team-secure-vault-core 66fc3d6154
backport of commit d3ae2085ae6242d752cbafb0d0aa9a48b8f4a16b (#21288)
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2023-06-15 15:56:29 -04:00
Hamid Ghaf fd7cf8a7cf
Bump Go to 1.20.5 (#21284) 2023-06-15 12:52:24 -07:00
hc-github-team-secure-vault-core f6f60770df
backport of commit e6f3003adcd00fa904309654e69c1201568e62c7 (#21278)
Co-authored-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-06-15 18:46:11 +00:00
hc-github-team-secure-vault-core 67feccc7dd
backport of commit e3c3a52b7b9f8d41c1d04f26b469b53c585587ec (#21242)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2023-06-15 18:26:58 +00:00
hc-github-team-secure-vault-core 7385e73a15
backport of commit 7b56b69959a7e5c1eb6326df3dd92e2411154548 (#21265)
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2023-06-15 17:05:27 +00:00
hc-github-team-secure-vault-core f41a167d6a
backport of commit b993384983f2c4d8e38b958fea0d56b0b83306ee (#21258)
Co-authored-by: miagilepner <mia.epner@hashicorp.com>
2023-06-15 16:13:53 +00:00
hc-github-team-secure-vault-core 433197bf2b
backport of commit 6b87a087afe24e8bd52a2b9ada4b506b20d4fc7e (#21254)
Co-authored-by: Nick Cabatoff <ncabatoff@hashicorp.com>
2023-06-15 11:53:16 -04:00
hc-github-team-secure-vault-core a5e6a4614d
backport of commit 58f029d6082b5231ca49312c75b360300781d399 (#21240)
Co-authored-by: Victor Rodriguez <vrizo@hashicorp.com>
2023-06-14 17:59:08 -04:00
Rachel Culpepper 79fe1f8d41
remove rc1 tag (#21103)
Co-authored-by: Divya Pola <87338962+divyapola5@users.noreply.github.com>
2023-06-14 15:20:32 -05:00
hc-github-team-secure-vault-core 386376573b
backport of commit ddff68c82a038bdfd1d16d8d389f5cc839e57b67 (#21230)
Co-authored-by: Ryan Cragun <me@ryan.ec>
2023-06-14 12:39:10 -06:00
hc-github-team-secure-vault-core 25364ebb61
backport of commit 052719b9a824da4ee368c3d982070ab290846970 (#21226)
Co-authored-by: Alexander Scheel <alex.scheel@hashicorp.com>
2023-06-14 18:08:57 +00:00