App-FargateStack

 view release on metacpan or  search on metacpan

share/ChangeLog  view on Meta::CPAN

	- + %WAF_MANAGED_RULES
	- + %WAF_MANAGED_RULE_BUNDLES
	- + $WAF_RULE_STUB
	(%DEFAULT_NAMES): + web-acl-name

Sun Aug 31 08:23:10 2025  Rob Lauer  <rlauer6@comcast.net>

	[1.0.38]:
	* README.md: generated
	* VERSION: bump
	* bin/app-FargateStack-checker-docker
	- map whole .aws directory
	- no need to cd to $HOME
	* bin/app-FargateStack-docker
	- map pwd to /work, not $HOME
	- map whol .aws directory
	- cd to /work, not $HOME
	* lib/App/FargateStack.pm.in
	(cmd_delete_schedule):
	- --force for delete-schedule
	* lib/App/FargateStack/CreateStack.pm.in
	(cmd_create_stack)
	- recognize a task as a scheduled task if it has a schedule
	- short env: for environment
	* lib/App/FargateStack/Pod.pm.in
	- tweaks, back to OVERVIEW
	* lib/App/FargateStack/Logs.pm.in
	(cmd_log):
	- default task name if no arg

Fri Aug 29 11:52:03 2025  Rob Lauer  <rlauer6@comcast.net>

	[1.0.37]:
	* bin/app-FargateStack-docker: new
	* bin/app-FargateStack-checker-docker: new
	* bin/app-fargatestack: new
	* postamble: new
	* .gitignore: -postamble
	* bin/app-fargatestack: simplified for App::Fargate
	* buildspec.yml: +postamble

Tue Aug 26 16:39:29 2025  Rob Lauer  <rlauer6@comcast.net>

	[1.0.36]:
	* VERSION: bump
	* docker/Dockerfile
	- add JSON, Log::Log4perl, Log::Log4perl::Layout::JSON, Readonly
	* docker/HelloWorld.pl
	- write JSON logs
	- only write env out once
	* lib/App/ECS.pm.in
	(list_task)
	- allow hash ref of args to support desired-status
	(update-service): + query
	* lib/App/FargateStack.pm.in
	(cmd_service_status)
	- refactoring
	- maybecolor
	- display task status too
	(cmd_display_task_status): new
	(cmd_remove_service): verify_service just takes task-name
	(update_task_count): likewise
	(verify_service): just accept task-name
	(get_task_image_digests): new
	(get_latest_task_definition): new
	(cmd_update_service): new
	(cmd_start_stop_service): renamed from cmd_update_service
	(cmd_list_tasks)
	- refactoring
	- color
	- stopped reason
	(fetch_option_defaults)
	- set config name
	(help): width 80
	(main)
	- create-stack - error level
	- start/stop service => cmd_start_stop_service
	- + update-service
	- alias: create-service -> deploy-service
	* lib/App/FargateStack/Builder.pm.in
	(build)
	- authorize efs ingress if enabled
	(_delete_security_group): ENI, not ALB ENI
	(authorize_efs_ingres): no --
	* lib/App/FargateStack/Builder/TaskDefinition.pm.in
	(register_task_definition): lazy load the real arn
	(define_task_size): don't clobber if it set in config
	* lib/App/FargateStack/Builder/Utils.pm.in
	(maybe_color): new
	(abbrev): new
	(log_die): exit 1;
	* lib/App/FargateStack/CreateStack.pm.in
	(cmd_create_stack)
	- use task name if no app name given
	- set the config file name
	- save the config file
	* lib/App/FargateStack/Init.pm.in
	(init)
	- hijack command if --version
	(_init_config): use config_name getter
	(_init_accoutn): die if we can't get account from profile
	* lib/App/FargateStack/Pod.pm.in
	- OVERVIEW => GETTING STARTED
	- updates based on new features
	- tweaking & wordsmithing

Fri Aug 22 10:26:54 2025  Rob Lauer  <rlauer6@comcast.net>

	[1.0.35]:
	* VERSION: bump
	* README.md: generated
	* lib/App/FargateStack.pm.in
	(cmd_state): new
	(fetch_option_defaults): call default_region
	(main)
	- make dns-profile an alias
	- + cmd_state
	* lib/App/FargateStack/Init.pm.in
	(default_region): new
	(_init_defaults): call default_region
	* lib/App/FargateStack/Pod.pm.in
	- pod updates (cmd_state)

share/ChangeLog  view on Meta::CPAN

	(register_task_definition): whitespace
	(list_task_definitions): likewise
	(deregister_task_definition): likewise
	(create_service)
	- assign public IP when in public subnet
	* lib/App/FargateStack/Builder/Certificate.pm.in
	(build_certificate)
	- refactoring
	- fix ChangeBatch
	* lib/App/FargateStack/Builder/HTTPService.pm.in
	(attach_certificate)
	- check for certificate arn (may be dryrun mode)
	(create_target_group)
	- container_port
	* lib/App/FargateStack/Builder/Service.pm.in
	(build_service): enable public_ip if alb is public
	* lib/App/FargateStack/Builder/Utils.pm.in
	(fetch_acm): new
	* lib/App/Route53.pm.in
	(create_alias): fix ChangeBatch

Sun Aug 10 20:34:38 2025  Rob Lauer  <rlauer6@comcast.net>

	[1.0.25]:
	* VERSION: bump
	* lib/App/AWS.pm.in
	(check_result)
	- return if no error
	* lib/App/FargateStack/Builder.pm.in
	(remove_alias_record): elb, not self

Sun Aug 10 19:22:39 2025  Rob Lauer  <rlauer6@comcast.net>

	[1.0.24]:

	* VERSION: bump
	* lib/App/AWS.pm.in
	(check_result)
	- add multiple signatures
	* lib/App/EC2.pm.in
	- debug, not trace levels
	* lib/App/ElbV2.pm.in
	- + _alb_cache
	(describe_load_balancers): cache alb info
	* lib/App/FargateStack.pm.in
	(init_logger): add module/method/line numbers in debug/trace modes
	(check_service_name): die don't croak
	(get_default_task_name): return task if just one
	(cmd_run_task): die don't croak
	(check_latest_image)
	- return boolean
	- whitespace
	(get_task_status)
	- refactoring
	(get_default_service_name)
	- refactoring
	(cmd_create_service)
	- refactoring
	- allow count
	(cmd_remove_service): die don't croak
	(verify_service): likewise
	(cmd_update_service): likewise
	(cmd_register_task_definition)
	- likewise
	- check_result
	(get_latest_image): fetch_ecr
	(cmd_stop_task): croak don't die
	(cmd_list_tasks): likewise
	(cmd_delete_schedule): likewise
	(cmd_delete_task): likewise
	(cmd_delete_daemon): likewise
	(cmd_delete_http): likewise
	(cmd_redploy): likewise
	(main)
	- set log-level to info for create-service
	- likewise for start-service
	- register-task, not register
	* lib/App/FargateStack/Builder.pm.in
	(delete_task_resources)
	- all --force to skip confirm
	(delete_cluster)
	- refactoring
	- check_result
	(delete_alias_record)
	- refactoring
	(_delete_service)
	- more consistent log messages
	(_delete_task_definitions): likewise
	(_delete_roles): likewise
	(_delete_log_group): likewise
	(_delete_security_group): likewise
	(_delete_target_group): likewise
	(_delete_http): likewise, check_result
	(is_our_alb): check_result
	(remove_alias_record): likewise
	(get_efs_sgs): likewise
	(authorize_efs_ingress): fetch_ec2, check_result
	* lib/App/FargateStack/Builder/HTTPService.pm.in
	(build_http_service)
	- refactoring
	(create_target_group)
	- fetch_elbv2
	- check_result
	(create_alb)
	- refactoring
	- make sure alb section is created
	- check_result
	(create_alb_security_group)
	- refactoring
	- fetch_ec2
	(create_alias)
	- fetch_route53
	* lib/App/FargateStack/Builder/Service.pm.in
	(build_service)
	- allow count
	- @desired_services  keys %{$tasks} if not specified (start all)
	- use container_port from config if defined
	(get_service_subnets)
	- fetch_elbv2
	- refactoring
	* lib/App/FargateStack/Builder/TaskDefinition.pm.in

share/ChangeLog  view on Meta::CPAN

	* Makefile: add above to build

Mon Aug  4 14:53:22 2025  Rob Lauer  <rlauer6@comcast.net>

	[1.0.15]:
	* lib/App/FargateStack.pm.in:
	- pod updates
	(cmd_logs)
	- refactored using 'filter-log-events'
	(show_log_events): new
	(find_task_log_stream): new
	(help)
	- help help
	- use pager
	(main)
	- + --log-poll-time
	* lib/App/FargateStack/Builder/Utils.pm.in
	- export slurp_file
	* lib/App/FargateStack/Constants.pm.in
	- + help topics: ROADMAP, CONFIGURATION, TROUBLESHOOTING, CLI OPTION DEFAULTS
	- buckets

Mon Aug  4 09:45:49 2025  Rob Lauer  <rlauer6@comcast.net>

	[1.0.14]:
	* docker/00-default.conf -> docker/000-default.conf
	* README.md: generated
	* VERSION: bump
	* docker/Dockerfile.apache
	- 000-default.conf was apparently correct
	* docker/HelloWorld.pl
	- log a message if no efs mount point environment variable
	* docker/Makefile
	- always push to ECR (for now)
	* lib/App/ECS.pm.in
	(update_service)
	- use named args
	- support --task-defintion, --force-new-deployment args
	* lib/App/ElbV2.pm.in
	(describe_load_balancers)
	- support --load-balancers-arn arg
	* lib/App/FargateStack.pm.in
	(init): bypass init flag for some commands
	(cmd_service_status)
	- refactoring
	- colors
	- fix pending
	- add task-definition
	(get_default_task_name): new
	(cmd_run_task)
	- refactoring
	- support --subnet-id arg
	- check that we running latest image
	(check_latest_image): new
	(get_default_service_name): new
	(cmd_create_service)
	- refactoring
	- check if running latest image
	(cmd_delete_service)
	- refactoring
	- verify service
	(verify_service): new
	(update_task_count): renamed from _update_task_count()
	(cmd_register)
	- refactoring
	- $task_definition, not $task_definition_arn
	(get_latest_image): new
	(cmd_stop_task): refactoring
	(cmd_redeploy): new
	(main)
	- + --force option to run task on old image, --subnet-id
	* lib/App/FargateStack/Builder/Service.pm.in
	(build_service)
	- refactoring
	- if http service, make sure we deploy in ALB subnets
	(get_service_subnets): new
	(get_alb_subnets): new
	* lib/App/FargateStack/Builder/Utils.pm.in
	(common_args): + cluster

Sun Aug  3 07:52:35 2025  Rob Lauer  <rlauer6@comcast.net>

	[1.0.13]:
	* README.md: generated
	* VERSION: bump
	* lib/App/ECS.pm.in
	(describe_services): typo
	* lib/App/Events.pm.in
	(rule_exists)
	- just return the rule if we not checking schedule
	(put_rule)
	- add state to enable/disable rule
	(describe_rule): new
	(disable_rule): - --force
	* lib/App/FargateStack.pm.in
	(init)
	- fetch history defaults
	(_init_route53)
	- list-zones, not list-hosted-zones
	- delay return until after we set profile
	(check_service_name): check and/or return default service
	(cmd_service_status)
	- accept service-name argument
	- show max-events
	(cmd_update_service)
	- allow just count if we have just 1 service
	(cmd_stop_stask): allow no arg if just 1 service
	(cmd_enable_schedule_task): new
	(cmd_disable_schedule_task): new
	(cmd_reset_history): new
	(fetch_option_defaults): new
	(main)
	- new option --max-events, --history, --abbreviations
	* lib/App/FargateStack/Builder/Events.pm.in
	(build_events)
	- better log messages for event rule changes
	(update_rule_state): new
	* lib/App/FargateStack/Builder/Utils.pm.in
	(write_json_file): new
	* examples/minimial-scheduled-task.yml
	- my-cron-job, not my-one-shot



( run in 0.551 second using v1.01-cache-2.11-cpan-e1769b4cff6 )