Skip to content

Commit 99d6d43

Browse files
Add cache_bucket_suffix_enabled to complete test (#92)
* Test cache_bucket_suffix_enabled * Auto Format * Update fixtures.us-east-2.tfvars * Update examples_complete_test.go * Update examples_complete_test.go * Update README.yaml * Auto Format Co-authored-by: cloudpossebot <[email protected]>
1 parent f2c178b commit 99d6d43

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -281,14 +281,13 @@ Like this project? Please give it a ★ on [our GitHub](https://github.com/cloud
281281
Are you using this project or any of our other projects? Consider [leaving a testimonial][testimonial]. =)
282282

283283

284+
284285
## Related Projects
285286

286287
Check out these related projects.
287288

288289
- [terraform-aws-ecs-codepipeline](https://github.com/cloudposse/terraform-aws-ecs-codepipeline) - Terraform Module for CI/CD with AWS Code Pipeline and Code Build for ECS
289290

290-
291-
292291
## Help
293292

294293
**Got a question?** We got answers.
@@ -418,8 +417,8 @@ Check out [our other projects][github], [follow us on twitter][twitter], [apply
418417
### Contributors
419418

420419
<!-- markdownlint-disable -->
421-
| [![Erik Osterman][osterman_avatar]][osterman_homepage]<br/>[Erik Osterman][osterman_homepage] | [![Igor Rodionov][goruha_avatar]][goruha_homepage]<br/>[Igor Rodionov][goruha_homepage] | [![Andriy Knysh][aknysh_avatar]][aknysh_homepage]<br/>[Andriy Knysh][aknysh_homepage] | [![Jamie Nelson][Jamie-BitfFlight_avatar]][Jamie-BitfFlight_homepage]<br/>[Jamie Nelson][Jamie-BitfFlight_homepage] | [![Sarkis Varozian][sarkis_avatar]][sarkis_homepage]<br/>[Sarkis Varozian][sarkis_homepage] | [![Bircan Bilici][brcnblc_avatar]][brcnblc_homepage]<br/>[Bircan Bilici][brcnblc_homepage] |
422-
|---|---|---|---|---|---|
420+
| [![Erik Osterman][osterman_avatar]][osterman_homepage]<br/>[Erik Osterman][osterman_homepage] | [![Igor Rodionov][goruha_avatar]][goruha_homepage]<br/>[Igor Rodionov][goruha_homepage] | [![Andriy Knysh][aknysh_avatar]][aknysh_homepage]<br/>[Andriy Knysh][aknysh_homepage] | [![Jamie Nelson][Jamie-BitFlight_avatar]][Jamie-BitFlight_homepage]<br/>[Jamie Nelson][Jamie-BitFlight_homepage] | [![Sarkis Varozian][sarkis_avatar]][sarkis_homepage]<br/>[Sarkis Varozian][sarkis_homepage] | [![Bircan Bilici][brcnblc_avatar]][brcnblc_homepage]<br/>[Bircan Bilici][brcnblc_homepage] | [![RB][nitrocode_avatar]][nitrocode_homepage]<br/>[RB][nitrocode_homepage] |
421+
|---|---|---|---|---|---|---|
423422
<!-- markdownlint-restore -->
424423

425424
[osterman_homepage]: https://github.com/osterman
@@ -428,12 +427,14 @@ Check out [our other projects][github], [follow us on twitter][twitter], [apply
428427
[goruha_avatar]: https://img.cloudposse.com/150x150/https://github.com/goruha.png
429428
[aknysh_homepage]: https://github.com/aknysh
430429
[aknysh_avatar]: https://img.cloudposse.com/150x150/https://github.com/aknysh.png
431-
[Jamie-BitfFlight_homepage]: https://github.com/Jamie-BitfFlight
432-
[Jamie-BitfFlight_avatar]: https://img.cloudposse.com/150x150/https://github.com/Jamie-BitfFlight.png
430+
[Jamie-BitFlight_homepage]: https://github.com/Jamie-BitFlight
431+
[Jamie-BitFlight_avatar]: https://img.cloudposse.com/150x150/https://github.com/Jamie-BitFlight.png
433432
[sarkis_homepage]: https://github.com/sarkis
434433
[sarkis_avatar]: https://img.cloudposse.com/150x150/https://github.com/sarkis.png
435434
[brcnblc_homepage]: https://github.com/brcnblc
436435
[brcnblc_avatar]: https://img.cloudposse.com/150x150/https://github.com/brcnblc.png
436+
[nitrocode_homepage]: https://github.com/nitrocode
437+
[nitrocode_avatar]: https://img.cloudposse.com/150x150/https://github.com/nitrocode.png
437438

438439
[![README Footer][readme_footer_img]][readme_footer_link]
439440
[![Beacon][beacon]][website]

README.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,10 @@ contributors:
8080
- name: Andriy Knysh
8181
github: aknysh
8282
- name: Jamie Nelson
83-
github: Jamie-BitfFlight
83+
github: Jamie-BitFlight
8484
- name: Sarkis Varozian
8585
github: sarkis
8686
- name: Bircan Bilici
8787
github: brcnblc
88+
- name: RB
89+
github: nitrocode

examples/complete/fixtures.us-east-2.tfvars

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ stage = "test"
66

77
name = "codebuild-test"
88

9-
cache_bucket_suffix_enabled = false
9+
cache_bucket_suffix_enabled = true
1010

1111
environment_variables = [
1212
{

test/src/examples_complete_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ func TestExamplesComplete(t *testing.T) {
3737

3838
expectedCacheS3BucketName := "eg-test-codebuild-test"
3939
// Verify we're getting back the outputs we expect
40-
assert.Equal(t, expectedCacheS3BucketName, cacheS3BucketName)
40+
assert.Contains(t, cacheS3BucketName, expectedCacheS3BucketName, "Bucket should contain prefix")
4141
}

0 commit comments

Comments
 (0)