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

make host_path optional for fargate #176

Merged
merged 6 commits into from
Nov 30, 2022
Merged

Conversation

Benbentwo
Copy link
Member

what

  • Sets host_path as optional in bind_mount_volumes for fargate which it cannot be specified

why

  • Fargate Volumes

references

@Benbentwo Benbentwo requested review from a team as code owners November 21, 2022 22:18
@Benbentwo Benbentwo requested review from joe-niland and korenyoni and removed request for a team November 21, 2022 22:18
@Benbentwo
Copy link
Member Author

/test all

@Benbentwo
Copy link
Member Author

/test all

versions.tf Outdated
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 0.13.0"
required_version = ">= 1.3.0"
Copy link
Member

Choose a reason for hiding this comment

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

Please don't increase the terraform this far. We have many users still using the old version.

I believe we also ran into an issue with optional inputs that @Nuru ran into.

Best of both worlds is to use a type = any imho to make all the inputs optional.

@nitrocode
Copy link
Member

/test all

@nitrocode nitrocode enabled auto-merge (squash) November 30, 2022 22:27
@nitrocode nitrocode added the patch A minor, backward compatible change label Nov 30, 2022
@nitrocode nitrocode disabled auto-merge November 30, 2022 22:28
@Benbentwo Benbentwo merged commit cb4f26e into master Nov 30, 2022
@Benbentwo Benbentwo deleted the improve-fargate-volumes branch November 30, 2022 22:46
draring pushed a commit to SevenPicoForks/terraform-aws-ecs-alb-service-task that referenced this pull request Feb 17, 2023
…alb-service-task

* 'master' of github.com:SevenPicoForks/terraform-aws-ecs-alb-service-task:
  fixes: Changing task_exec_policy_arns or task_policy_arns cause recreations cloudposse#167 (cloudposse#178)
  make `host_path` optional for fargate (cloudposse#176)
  Adding support for bind mount volume types (cloudposse#173)
  Update README.md and docs (cloudposse#171)
  Set bool inputs to type bool (cloudposse#170)
  Add ecs_service_enabled (cloudposse#169)
  BUG | Support Dynamic deployment_circuit_breaker for CODE_DEPLOY  (cloudposse#165)
  Added support to specify FSx Windows file server volumes (cloudposse#166)
  git-xargs programmatic commit (cloudposse#163)

# Conflicts:
#	main.tf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch A minor, backward compatible change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

failed creating ECS Task Definition with bind volume
3 participants