by shigemk2

当面は技術的なことしか書かない

PHP Module '%s' already loaded

7.4.16だとこのあたりがエラー処理の実装っぽいけど、読んだところで今のところは何もわからない。 PHPのextensionがすでにロードされているってことは、自分が思っているphpの設定とは別なところですでにモジュールがロードされている可能性が強いので、やっぱり兎にも角にもまずphp -iとかphp -mとかやってみるのがいいかもしれない。

php-src/zend_API.c at PHP-7.4.16 · php/php-src · GitHub

awscli 2.1.36

  • api-change:ivs: This release adds support for the Auto-Record to S3 feature. Amazon IVS now enables you to save your live video to Amazon S3.
  • api-change:robomaker: This release allows RoboMaker customers to specify custom tools to run with their simulation job
  • api-change:lookoutequipment: This release introduces support for Amazon Lookout for Equipment.
  • bugfix:profile: Fix bug in profile resolution order when AWS_PROFILE environment variable contains non-existing profile but --profile command line argument contains correct profile name
  • api-change:kinesis-video-archived-media: Documentation updates for archived.kinesisvideo
  • api-change:autoscaling: Amazon EC2 Auto Scaling announces Warm Pools that help applications to scale out faster by pre-initializing EC2 instances and save money by requiring fewer continuously running instances
  • api-change:appstream: This release provides support for image updates
  • api-change:elasticache: This release adds tagging support for all AWS ElastiCache resources except Global Replication Groups.
  • api-change:storagegateway: File Gateway APIs now support FSx for Windows as a cloud storage.
  • api-change:accessanalyzer: IAM Access Analyzer now analyzes your CloudTrail events to identify actions and services that have been used by an IAM entity (user or role) and generates an IAM policy that is based on that activity.
  • api-change:ram: Documentation updates for AWS RAM resource sharing
  • api-change:mgn: Add new service - Application Migration Service.
  • bugfix:profile: Fix bug in profile resolution order when AWS_PROFILE environment variable contains non-existing profile but --profile command line argument contains correct profile name
  • api-change:customer-profiles: Documentation updates for Put-Integration API

github.com

github.com

awscli 2.1.35

  • api-change:auditmanager: AWS Audit Manager has updated the GetAssessment API operation to include a new response field called userRole. The userRole field indicates the role information and IAM ARN of the API caller.
  • api-change:ssm: Supports removing a label or labels from a parameter, enables ScheduledEndTime and ChangeDetails for StartChangeRequestExecution API, supports critical/security/other noncompliant count for patch API.
  • api-change:medialive: MediaLive now support HTML5 Motion Graphics overlay
  • api-change:mediapackage: SPEKE v2 is an upgrade to the existing SPEKE API to support multiple encryption keys, based on an encryption contract selected by the customer.
  • api-change:appflow: Added destination properties for Zendesk.
  • api-change:medialive: MediaLive VPC outputs update to include Availability Zones, Security groups, Elastic Network Interfaces, and Subnet Ids in channel response
  • api-change:cloud9: Documentation updates for Cloud9
  • api-change:imagebuilder: This release adds support for Block Device Mappings for container image builds, and adds distribution configuration support for EC2 launch templates in AMI builds.
  • api-change:ec2: This release adds support for storing EBS-backed AMIs in S3 and restoring them from S3 to enable cross-partition copying of AMIs

https://github.com/aws/aws-cli/blob/v2/CHANGELOG.rst

fish shell 3.2.2

  • The command-not-found handler used suggestions from pacman on Arch Linux, but this caused major slowdowns on some systems and has been disabled (#7841).
  • fish will no longer hang on exit if another process is in the foreground on macOS (#7901).
  • Certain programs (such as lazygit) could create situations where fish would not receive keystrokes correctly, but it is now more robust in these situations (#7853).
  • Arguments longer than 1024 characters no longer trigger excessive CPU usage on macOS (#7837).
  • fish builds correctly on macOS when using new versions of Xcode (#7838).
  • Completions for aura (#7865) and tshark (#7858) should no longer produce errors.
  • Background jobs no longer interfere with syntax highlighting (a regression introduced in fish 3.2.1, #7842).

github.com

ECR ライフサイクルポリシー

docs.aws.amazon.com

たとえばこれをそのままJSON編集から登録するとライフサイクルポリシーが動く。 imageとタグを混同しがちなんだけど、とりあえず以下の書き方で、prefix-で始まるタグだけを500残すように設定できる。

{
  "rules": [
    {
      "action": {
        "type": "expire"
      },
      "selection": {
        "countType": "imageCountMoreThan",
        "countNumber": 500,
        "tagStatus": "tagged",
        "tagPrefixList": [
          "prefix-"
        ]
      },
      "description": " ",
      "rulePriority": 1
    }
  ]
}

descriptionってオプショナルなはずなんだけどJSON編集で省けない。

ちなみにイメージのタグはデフォルトで最大1000までだし docs.aws.amazon.com

イメージやタグを残しておくだけでも料金が発生するので、適当なところでライフサイクルを設けておく必要はあると思う。 aws.amazon.com