App-FargateStack
view release on metacpan or search on metacpan
share/ChangeLog view on Meta::CPAN
(delete_task_resources)
- selective deletion when multiple tasks defined
- make sure we have a cluster name
- more log messages
* lib/App/FargateStack/Builder/EFS.pm.in
(add_volumes): fetch_efs
* lib/App/FargateStack/Builder/Events.pm.in
(build_events)
- refactoring
- more log messages
(create_event_target)
- refactoring
- add tags to events
- detect policy diff and output diff listing
(build_events_iam_role)
- refactoring
- add tag policy
(build_run_tags): new
* lib/App/FargateStack/Builder/LogGroup.pm.in
(build_log_group)
- refactoring
(fetch_logs): removed
(update_log_groups): likewise
(add_log_group_policy): only 1 log group for this stack
* lib/App/FargateStack/Builder/Secrets.pm.in: whitespace
* lib/App/FargateStack/Builder/Service.pm.in
(build_service)
- place service in same AZ as ALB if http service
(get_service_subnets): likewise
* lib/App/FargateStack/Builder/TaskDefinition.pm.in
(define_port_mapping): only for http
(create_taskdef_files)
- default to type 'task'
- only 1 log group now
* lib/App/FargateStack/Builder/Utils.pm.in
- pod
(@EXPORT): +nomalize_name, normalize_time_range, normalize_timestamp, fetch_cloudrtrail
(normalize_timestamp): new
(display_diffs): tweak output
* lib/App/FargateStack/Constants.pm.in
- + $DEFAULT_MAX_EVENTS
* lib/App/FargateStack/Init.pm.in
(init)
- setup config earlier
(_init_config): move copyright message to init()
* lib/App/FargateStack/Logs.pm.in
(cmd_logs)
- only 1 log group now
(normalize_time_range): moved to Utils
* lib/App/FargateStack/Pod.pm.in
- add new options, commands
Mon Aug 11 17:40:17 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.29]:
* ChangeLog
* VERSION: bump
* README.md: generated
* lib/App/FargateStack/Builder.pm.in
(delete_task_resources)
- delete id, last_updated
- log a message about skeleton config
(_delete_security_group)
- wait for ENI to release ALB security group
* lib/App/FargateStack/Builder/Cluster.pm.in
(build_fargate_cluster)
- make sure we set cluster info in config
- check_result after api call
* lib/App/FargateStack/Builder/HTTPService.pm.in
(create_alb): add tags
* lib/App/FargateStack/Init.pm.in
(init)
- add die handler for apply, destroy, delete- commands
* lib/App/FargateStack/Pod.pm.in
- typos, minor wordsmithing
Mon Aug 11 15:59:40 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.28]:
* VERSION: bump
* lib/App/ElbV2.pm.in
(create_load_balancer)
- refactoring
- croak if no subnets or security groups defined
- format subnets, security group as lists
(create_listener)
- add default_actions
* lib/App/FargateStack.pm.in
(show_config): dryrun might be set later by command
(main): set info level for delete-service
* lib/App/FargateStack/Builder.pm.in
(build)
- typo
- arn, not task_definition_arn
(_delete_roles)
- refactoring
(_delete_log_group)
- refactoring
(_delete_http)
- remove alb arn if it does not exist
- log message about deleting listener rules
- revoke ALB ingress before deletion of sg
(alb_exists): new
(remove_alias_record)
- check for alias record
* lib/App/FargateStack/Builder/HTTPService.pm.in
(create_listeners)
- get_listeners_by_port
- return hash, not array
- check_result after creating
(create_alb)
- refactoring
- set alb object in config
- set security_group object in config
- set scheme based on alb type
(create_alb_security_group)
- refactoring
- check for existence of sg
- authorize ingress based on configured ports (don't hard code)
(create_alias)
- don't check if we don't have an ALB
share/ChangeLog view on Meta::CPAN
* bin/app-FargateStack: CARP_ALWAYS
* lib/App/ECS.pm.in
(delete_definitions): always deregister
(tag_resource): new
* lib/App/ElbV2.pm.in
(delete_load_balancer): new
(delete_rule): new
(describe_tags): new
* lib/App/FargateStack.pm.in
- remove Carp::Always and make it an option to app-Fargate script
(get_default_task_name):
- use filter arg to support task type
- refactoring
(cmd_run_task)
- make sure this is a task
(cmd_remove_service): new from cmd_delete_service
(cmd_register_task_definition): new from cmd_register
(cmd_destroy): new, but nt yet implemented
(build_section_paths): new
(cmd_delete_schedule): new
(cmd_delete_task): new
(cmd_delete_daemon): new
(cmd_delete_http): new
(help)
- use =head(n) sections as help topics
(main)
- ---confirm-all, --purge-config
* lib/App/FargateStack/Builder.pm.in
(build)
- move task-definition section break
(configure_alb): whitespace
(remove_listener_rules): new
(delete_task_resources): new
(is_our_alb): new
(remove_alb): new
(remove_alias_record): new
* lib/App/FargateStack/Builder/Events.pm.in
(create_event_target): use create_default, not "1"
(build_events_iam_role)
- create_events_role()
- use create_default() for policy_name
* lib/App/FargateStack/Builder/HTTPService.pm.in
(create_listeners)
- refactoring
(create_target_group)
- likewise
- use create_default() for target group name
(create_alb)
- {group_name} not {name}
- flag in config for creating new ALB
- message about creation of new ALB if requested in config
- use create_default() for ALB name
(create_alias): refactoring
* lib/App/FargateStack/Builder/Utils.pm.in
- export confirm()
(confirm): new
(is_service_running): new
* lib/App/FargateStack/Constants.pm.in
(DEFAULT_NAMES): added more default naming subs
* lib/App/FargateStack/Pod.pm.in
- updated to reflect new commands, options
Tue Aug 5 16:04:58 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.21]:
* README.md: generated
* VERSION: bump
* lib/App/FargateStack.pm.in
(help): allow help {command}
* lib/App/FargateStack/Pod.pm.in: wordsmithing
Tue Aug 5 14:08:01 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.20]:
* README.md: generated
* VERSION: bump
* lib/App/ECS.pm.in
(deregister_task_definition): new
(delete_task_definition): new
* lib/App/FargateStack/Builder/IAM.pm.in
(build_iam_role)
- refactoring
* lib/App/FargateStack/Builder/LogGroup.pm.in: likewise
* lib/App/FargateStack/Builder/SecurityGroup.pm.in: likewise
* lib/App/FargateStack/Builder/TaskDefinition.pm.in: likewise
* lib/App/FargateStack/Init.pm.in: likewise
* lib/App/FargateStack/Builder/Utils.pm.in
(create_default): new
(common_arg): do not cache var_pool!
* lib/App/FargateStack/Constants.pm.in
- don't import anything by default
- + %DEFAULT_NAMES
* lib/App/FargateStack/Pod.pm.in: current status
Tue Aug 5 08:40:48 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.19]:
* Makefile
- fix clean (-f)
* README.md: generated
* VERSION: bump
* examples/README.md: wip
* lib/App/FargateStack.pm.in
(cmd_run_task)
- refactoring
- add dryun mode
- croak if no cluster created yet
(check_latest_image)
- only croak if an image is actually defined in the configuration
* lib/App/FargateStack/Builder/Cluster.pm.in
(build_fargate_cluster)
- refactoring
* lib/App/FargateStack/Builder/SecurityGroup.pm.in
(build_security_group)
- refactoring
* lib/App/FargateStack/Builder/TaskDefinition.pm.in
(register_task_definition)
- refactoring
- save image digest when we register definition
(define_port_mapping): new
share/ChangeLog view on Meta::CPAN
Sat Aug 2 08:45:51 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.11]:
* VERSION: bump
* docker/.gitignore: new
* docker/000-default.conf -> docker/00-default.conf
* docker/Dockerfile.apache
- start-server => start-apache
* docker/Makefile: new
* docker/README.md: generated
* docker/README.md.in: new
* deploy-to-ecr -> docker/deploy-to-ecr
Fri Aug 1 17:15:41 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.10]:
* README: generated
* VERSION: bump
* lib/App/FargateStack.pm.in
- pod updates (SECRETS)
(get_task_status): order of keys incorrect, swap container, stop_reason
* lib/App/FargateStack/Builder/TaskDefinition.pm.in
(create_taskdef_files): add_secrets returns array ref, not list
Fri Aug 1 12:36:45 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.9]:
* .gitignore
- +.tdy, .LOG
* README.md: generated
* VERSION: bump
* requires: CLI::Simple 1.0.0
* lib/App/FargateStack.pm.in
(main): update log levels for some commands
(init)
- remove log_level munging (now done in run)
(init_tasks): whitespace
(cmd_service_status): refactoring
(cmd_run_task): likewise
(cmd_list_tasks): likewise
(cmd_logs): likewise
(get_task_status): new
* lib/App/FargateStack/Builder/Utils.pm.in
(jmespath_mapping): support array or hash list
Fri Aug 1 08:28:10 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.8]:
* .gitignore
- *.yml, test-*.pl, packages, requires.in
* Makefile
- new target 'requires'
- add TOC to README.md
* README-FARGATE.md: minor tweaks
* VERSION: bump
* lib/App/Command.pm.in: trace message to dump command
* lib/App/ECS.pm.in
(list_tasks): new
(stop_task): new
* lib/App/FargateStack.pm.in
- updated pod
(init)
- add additional command that log @ error level
- use english $^S
(cmd_service_status): wrap events at 100 columns
(_init_config)
- use fargate-stack.yml as default
- allow enviroment variable for default configuration name
(cmd_update_service)
- add a sleep so we can get updated status
(cmd_register)
- refactoring
- update config with new arn
(help)
- show USAGE for help
(cmd_stop_task): new
(cmd_list_tasks): new
(cmd_update_policy): new
(main)
- - --force
- one-letter abbreviations missing for some options
- + list-tasks, stop-task, update-policy
* lib/App/FargateStack/Builder/EFS.pm.in
(add_volumes)
- use default mount point of /mnt
- minor refactoring
* lib/App/FargateStack/Builder/IAM.pm.in
(build_iam_role)
- major refactoring
- better logging
- display diffs in a friendlier way
(create_fargate_policy): new
* lib/App/FargateStack/Builder/S3Bucket.pm.in
(add_bucket_policy)
- + readonly option
- + paths option
* lib/App/FargateStack/Builder/SQSQueue.pm.in
(build_queue)
- refactoring
- support for dead letter queues
(ensure_queue_arn): new
(queue_exists): new
(apply_queue_defaults): new
(add_queue_policy): support for dlq
* lib/App/FargateStack/Builder/Utils.pm.in
(common_args): new
(display_diffs): new
(ToCamelCase): new
(toCamelCase): new
(_toCamelCase): new
(jmespath_mapping): new
(elapsed_time): new
* lib/App/FargateStack/Constants.pm.in
- + $DEFAULT_SQS+
- + $QUEUE_ATTRIBUTES
- + help topics CLOUDWATCH_LOGS, COMMAND LIST
* lib/App/SQS.pm.in
- + max_receive_count, delay_seconds, arn, url
(set_attributes): new
(get_queue_arn): new
(create_queue)
- use constants
- support dead letter queues
* my-stack-minimal.yml
* requires
- + Carp::Always, Text::Diff, Time::Piece, Date::Parse, IO::Pager
* examples/minimal-task.yml: renamed from my-stack-minimal.ym
* examples/minimal-scheduled-task.yml: new
* examples/minimal-https.yml: new
* examples/minimal-http.yml: new
* examples/minimal-daemon.yml: new
* docker/000-default.conf: new
* docker/Dockerfile.apache: new
* docker/HelloWorld.pl: moved from root
* docker/apache2.conf: new
* docker/bookworm-backports.list: new
* docker/start-apache: new
Tue Jul 29 16:14:46 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.7]:
* README.md: generated
* VERSION: bump
* lib/App/ECS.pm.in
(describe_services): new
* lib/App/FargateStack.pm.in
(init)
- call _init_route53() unconditionally and let it figure it out
- set log-level to error for commands that shouldn't log
- command(), not get_command()
(show_config): log_level may not be initialized yet?
(_init_defaults):
- save last_updated and delete last_updated and id from config
- force cache off if config was invalidated
(_init_route53)
- return if not a command that needs route53
- get_cache, not cache()
(cmd_logs)
- refactoring
- order-by, descending (need most recent log stream)
- standardize log message output
(_init_ec2): debug message
(cmd_service_status): new
(_init_config): don't invalidate config here, too early
(cmd_run_task): standardize log message output
(check_task): new
(cmd_stop_service): removed
(cmd_start_service): removed
(cmd_update_service): replaces above
(_update_task_count): new
(init_logger): default 'info'
(main)
- log-time default now true
- added command status
* lib/App/FargateStack/Builder/HTTPService.pm.in
(create_alb)
- create alb in public or private subnet depending on service type (http/https)
Tue Jul 29 09:32:14 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.6]:
* VERSION: bump
* README.md: generated
* lib/App/FargateStack.pm.in
- pod updates
(init)
- die handler for keeping config file in sync
- force --no-cache if config file out of sync
(_init_route53): refactoring
(_init_defaults): moved setting of cache here
(cmd_stop_service): first implementation
(cmd_list_hosted_zones): SCRIPT_NAME no SCRIPT_PATH
(cmd_run_task): likewise
(cmd_register): likewise
(_init_config)
- likewise
- invalidate config object
- add config_name to configuration object
(display_hosted_zones): set route53 if not set
Mon Jul 28 15:52:08 2025 Rob Lauer <rlauer6@comcast.net>
[1.0.5]:
* README.md
* VERSION
* lib/App/EC2.pm.in
(new): find eligible VPC if no vpc_id
(find_eligible_vpcs): new
(describe_internet_gateways): new
(describe_vpc_nat_gateways): new
(describe_nat_gateways): refactored
* lib/App/FargateStack.pm.in
(_init_ec2): no longer using default VPC
( run in 1.507 second using v1.01-cache-2.11-cpan-e1769b4cff6 )