一些 AWS 证书具有此颁发者:
issuer=C=US, O=Amazon, CN=Amazon RSA 2048 M02
其他人有这个:
issuer=C=US, O=Amazon, CN=Amazon RSA 2048 M03
它们之间有什么区别?
一些 AWS 证书具有此颁发者:
issuer=C=US, O=Amazon, CN=Amazon RSA 2048 M02
其他人有这个:
issuer=C=US, O=Amazon, CN=Amazon RSA 2048 M03
它们之间有什么区别?
$ vagrant box update
==> default: Checking for updates to 'ubuntu/jammy64'
default: Latest installed version: 20231027.0.0
default: Version constraints: 20241002.0.0
default: Provider: virtualbox
default: Architecture: "amd64"
The metadata for the box was malformed. The exact error
is shown below. Please contact the maintainer of the box so
that this issue can be fixed.
unexpected token at '<!DOCTYPE html><html lang="en-us"><head>
<meta charset="utf-8">
<title>HashiCorp Cloud Platform</title>
...
这似乎是由于 的变化造成的metadata_url
。
工作示例:
https://vagrantcloud.com/api/v2/vagrant/ubuntu/jammy64
非工作示例:
https://vagrantcloud.com/ubuntu/jammy64
URL 何时更改的?
我想到两种解决方法:
sed
)即可修复这些 URL。vagrant init
将导致~/.vagrant.d/boxes/
更新。运行时terraform apply
出现此错误:
Error: parsing old engine_version: Malformed version: 7.x
│
│ with module.redis_cluster.aws_elasticache_replication_group.replication_group,
│ on ../../../../modules/redis/main.tf line 11, in resource "aws_elasticache_replication_group" "replication_group":
│ 11: resource "aws_elasticache_replication_group" "replication_group" {
│
这似乎是hashicorp/terraform-provider-aws#32252中描述的问题,并且在评论中有详细的解决方法:
- 我们使用通配符语法在 Terraform 中配置了一些 Redis 实例:
6.x
- 有人在 AWS 控制台 UI 中手动更新了 Redis 引擎
7.0.*
- 更新后,代码已更新为
7.x
手动。它与AWS提供商配合良好4.37.0
。- 当我开始在同一个存储库中工作时,我将 AWS 提供程序从 更新
4.37.0
为5.9.0
并遇到了问题:7.x
值和 都不起作用7.0
。这是Redis versions must match <major>.<minor>...
或Error: parsing old engine_version: Malformed version: 7.x
错误。
解决方法继续描述编辑远程状态以修复问题。除了该解决方法之外,还有其他更简单的方法可以解决这个问题吗?