Michael Li
ab94d5cf59
chore(e2e): Modify bucket policy to 7 days ( #5410 )
2025-01-06 17:29:03 -05:00
Michael Li
629d7a93ee
chore(e2e): Modify gcp label to meet format constraints ( #5400 )
...
GCP label constraints include the following:
The value can only contain lowercase letters, numeric characters, underscores and dashes. The value can be at most 63 characters long. International characters are allowed.
2025-01-03 10:47:08 -05:00
Michael Li
3d0f667151
chore(e2e): Update vault addresses in AWS scenarios ( #5395 )
2025-01-02 09:42:23 -05:00
Michael Li and Johan Brandhorst-Satzkorn
6ed077c69e
test(e2e): Add test for vault oidc provider ( #5384 )
...
* test(e2e): Simplify vault address in docker network
* test(e2e): Add oidc test using vault
* Update enos/modules/docker_vault/main.tf
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com >
---------
Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com >
2024-12-19 17:06:01 -05:00
Elim Tsiagbey
a4f2a704fd
test(e2e): add GCP dynamic host catalog e2e tests ( #5294 )
...
* test(e2e): add GCP infra resources and tests for enos testing
- add 1 new `gcp_target` module that creates a GCP VM instance with labels for filtering
- add GCP dynamic host catalog e2e tests
2024-12-17 14:06:14 -05:00
Michael Li
e3fb05a519
chore: Update service user with required permission ( #5344 )
2024-12-10 12:57:02 -05:00
Michael Li
5896a3b44b
chore(e2e): Add object expiration policy to s3 bucket ( #5298 )
...
* chore(e2e): Add expiration date to aws bucket objects
* chore(e2e): Add user tag to bucket
2024-12-05 09:51:53 -05:00
Michael Li
ae0ca0c5aa
test(e2e): Update module to account for docker image changes ( #5295 )
...
There were some directory changes made to the openssh server docker container. These changes were made to account for that update.
2024-12-02 16:20:07 -05:00
Michael Li
820eb395a3
chore(e2e): Increase worker instance size ( #5251 )
...
* chore(e2e): Update to use t2.small instances
Using the updated AWS SDK required more memory and was causing workers to crash.
* chore(e2e): Add identifier to aws instance
2024-11-18 15:02:19 -05:00
Michael Li
45542b3fab
chore(e2e): Add required permission to service user ( #5231 )
2024-11-14 12:26:44 -05:00
dani and Damian Debkowski
62c41191ff
[fix] allow IPv6 controllers, workers, and targets ( #5221 )
...
Co-authored-by: Damian Debkowski <damian.debkowski@hashicorp.com >
2024-11-01 13:27:40 -04:00
Michael Li
61f5986f0d
chore(enos): Add ipv6 cleanup permission ( #5174 )
2024-10-17 10:38:24 -04:00
Michael Li
9398248c32
test(e2e): Add user name to AWS resources ( #5149 )
...
This change makes it easier to identify who generated these resources when looking at the AWS console
2024-10-07 14:12:00 -04:00
Irena Rindos
35679c6a5b
chore(config): remove deprecated controllers field ( #5125 )
...
* chore(config): remove deprecated controllers field
2024-09-23 11:45:34 -04:00
Michael Li
08433affc8
doc(e2e): Update enos readme ( #5033 )
2024-09-06 14:17:40 -04:00
Michael Li
30b999e261
test(hcp): Define TF module for long-lived resources ( #5045 )
...
* test(hcp): Define TF module for long-lived resources
* CR: Move outputs and variables to its own files
2024-09-05 12:08:07 -04:00
Michael Li
edd7ec62f8
test(e2e): Add support for an hcp worker ( #4939 )
2024-07-23 10:59:39 -04:00
Michael Li
80abefda1b
chore(e2e): Add audit logs to aws boundary instances ( #4924 )
2024-07-09 11:32:49 -04:00
Michael Li
6e5fd945a3
chore(e2e): Add instance ips to output ( #4913 )
2024-07-09 10:34:17 -04:00
Michael Li
ad4957a3c7
chore(e2e): Clean up comments in enos.vars ( #4903 )
2024-07-08 10:18:30 -04:00
Michael Li
1909889a6f
chore(e2e): Define docker attributes to prevent forced replacement on second launch ( #4918 )
...
* chore(e2e): Define settings to prevent forced replacement
On a second `terraform apply`, there were a few attributes forcing the replacement (i.e. regeneration) of the resource. This commit defines some attributes explicitly to prevent the regeneration from occurring.
* chore(e2e): Add extra timeout for openssh server
2024-07-08 10:08:34 -04:00
Michael Li
8b45b1c515
chore(e2e): Add boundary to path ( #4901 )
...
This adds the boundary application to the path on the respective ec2 instances.
2024-06-24 14:01:58 -04:00
Michael Li
333b9e855d
chore(e2e): Use public version of enos ( #4872 )
...
* chore(e2e): Use public version of enos
* chore(e2e): Move vault module to this repo
terraform-enos-aws-vault is no longer supported
2024-06-10 11:13:09 -04:00
Michael Li
d408f65519
test(e2e): Add support for dynamic credentials ( #4878 )
...
These changes are necessary to enable testing of dynamic credentials when creating storage buckets.
2024-06-07 12:05:11 -04:00
Michael Li
3da1615ddb
test(e2e): Add check for ldap account attribute mapping ( #4867 )
2024-06-04 14:24:15 -04:00
Michael Li
61db074b1e
chore(e2e): Clean up UI docker scenario ( #4843 )
...
* chore(e2e): Remove unused worker token
* chore(e2e): Remove unused variable
2024-06-04 13:03:41 -04:00
Rowan Smith
d161124ba2
update script to not print null values ( #4871 )
...
Added a `select(.value != "")` entry to the jq statement to avoid it printing null values. This is to make life easier when copy/pasting the output from the script.
This solves the problem of people overwriting existing values they may have set, namely `VAULT_ADDR` and `VAULT_TOKEN`.
before:
```
➜ enos git:(main) ✗ bash scripts/test_e2e_env.sh
export BOUNDARY_ADDR='http://some-address:9200 '
export BOUNDARY_LICENSE=''
export E2E_AWS_ACCESS_KEY_ID=''
export E2E_AWS_BUCKET_NAME=''
export E2E_AWS_HOST_SET_FILTER=''
export E2E_AWS_HOST_SET_FILTER2=''
export E2E_AWS_HOST_SET_IPS='[""]'
export E2E_AWS_HOST_SET_IPS2='[""]'
export E2E_AWS_REGION=''
export E2E_AWS_SECRET_ACCESS_KEY=''
export E2E_MAX_PAGE_SIZE='10'
export E2E_PASSWORD_ADMIN_LOGIN_NAME='admin'
export E2E_PASSWORD_ADMIN_PASSWORD='xdBht'
export E2E_PASSWORD_AUTH_METHOD_ID='ampw_UI0wkZdCfJ'
export E2E_SSH_CA_KEY=''
export E2E_SSH_KEY_PATH='/Users/something.pem'
export E2E_SSH_USER='ubuntu'
export E2E_TARGET_ADDRESS='10.13.1.254'
export E2E_TARGET_PORT='22'
export E2E_TESTS='true'
export E2E_VAULT_ADDR=''
export E2E_WORKER_ADDRESS=''
export E2E_WORKER_TAG_EGRESS=''
export E2E_WORKER_TAG_INGRESS=''
export VAULT_ADDR=''
export VAULT_TOKEN=''
```
after:
```
➜ enos git:(main) ✗ bash scripts/test_e2e_env.sh
export BOUNDARY_ADDR='http://some-address:9200 '
export E2E_AWS_HOST_SET_IPS='[""]'
export E2E_AWS_HOST_SET_IPS2='[""]'
export E2E_MAX_PAGE_SIZE='10'
export E2E_PASSWORD_ADMIN_LOGIN_NAME='admin'
export E2E_PASSWORD_ADMIN_PASSWORD='xdBht'
export E2E_PASSWORD_AUTH_METHOD_ID='ampw_UI0wkZdCfJ'
export E2E_SSH_CA_KEY=''
export E2E_SSH_KEY_PATH='/Users/something.pem'
export E2E_SSH_USER='ubuntu'
export E2E_TARGET_ADDRESS='10.13.1.254'
export E2E_TARGET_PORT='22'
export E2E_TESTS='true'
```
2024-06-04 09:43:34 -04:00
Michael Li
8dd419ab85
chore(e2e): Add minio variables to UI test module ( #4840 )
2024-05-29 17:11:37 -04:00
Michael Li
d519759c53
chore(e2e): Add aws region to UI tests ( #4831 )
2024-05-28 17:32:31 -04:00
Michael Li
a22f031ce0
chore(e2e): Use region specified in variable ( #4814 )
2024-05-28 09:46:01 -04:00
Michael Li
69dfeacc55
chore(e2e): Remove call to tparse ( #4817 )
2024-05-23 09:54:27 -04:00
Michael Li
3733af2163
test(e2e): Add support for credential rotation in minio buckets ( #4744 )
...
* test(e2e): Update minio module to add permissions for credential rotation
* test(e2e): Add minio user id to test suite
2024-04-29 14:57:48 -04:00
Michael Li
1416ac5e07
test(e2e): Add module for iam user with credential rotation support ( #4718 )
2024-04-25 11:59:45 -04:00
Michael Li
400e36ee21
test(e2e): Update postgres version ( #4701 )
...
15.3 is no longer available
2024-04-23 12:16:45 -04:00
Michael Li
d0997661d0
chore(e2e): Increase timeout when setting up container ( #4661 )
...
When setting up the docker container in this module, there's a an additional script that runs (00-trust-user-ca) that takes some time to execute. This can occasionally take longer than the current 20s timeout, so we are bumping it here
2024-04-19 09:46:56 -04:00
Michael Li
69d686bc9a
test(e2e): Set a minio alias in the container ( #4646 )
...
This alias will be used by commands in a test when using the minio client. An alias needs to be defined in order for commands like retrieving an object from the bucket to work successfully.
2024-04-16 15:22:05 -04:00
Michael Li
d4e314cde8
test(e2e): Remove leftover debug line ( #4588 )
2024-04-02 12:02:21 -04:00
Michael Li
cb28fe4296
test(e2e): Add module for minio docker container ( #4578 )
2024-03-29 10:27:39 -04:00
Michael Li
b251e7a8b9
chore(e2e): Add session recording resources for UI tests ( #4498 )
2024-03-14 10:09:51 -04:00
Michael Li
4158993a4d
chore(e2e): Bump timeout to 25m ( #4489 )
...
There have been a few instances where the e2e tests runtime hit this limit. For now, we will update the timeout to make things pass more regularly. There will also be some additional activity to reorganize the e2e tests as runtime has become too long.
2024-03-06 17:23:31 -05:00
Michael Li
ad6893e039
test(e2e): Provide public ca key to UI tests ( #4478 )
2024-03-04 15:24:39 -05:00
Michael Li
72d4f1142b
test(e2e): Use vault server instead of vault dev ( #4453 )
2024-03-04 14:30:00 -05:00
Michael Li
61fb079371
test(e2e): Add test for authentication when no keyring is available ( #4378 )
2024-02-09 13:07:17 -05:00
Michael Li
293952a698
test(e2e): Fix where max_page_size is defined ( #4381 )
2024-02-08 16:42:07 -05:00
Michael Li
31ca969f4f
Revert "chore(e2e): Remove need for tparse ( #4326 )" ( #4362 )
...
This reverts commit f18bc5262f .
2024-02-05 17:48:00 -05:00
Michael Li
f18bc5262f
chore(e2e): Remove need for tparse ( #4326 )
2024-02-05 16:14:42 -05:00
Michael Li
b3a292d4b9
chore(e2e): Reduce number of instances created ( #4298 )
2024-02-02 13:53:42 -05:00
Johan Brandhorst-Satzkorn
c334ec700c
enos: support max_page_size in AWS scenarios ( #4352 )
2024-02-02 09:21:21 -08:00
Michael Li
629ed661b3
chore(e2e): Fix iam user creation ( #4287 )
2024-01-25 11:55:14 -05:00
dani
a2c7bc8545
fix(e2e): update enos policies to include s3:ListBucket ( #4255 )
2024-01-19 12:27:45 -05:00