Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services aws cloudformation估算模板成本返回非工作URL_Amazon Web Services_Templates_Amazon S3_Amazon Ec2_Amazon Cloudformation - Fatal编程技术网

Amazon web services aws cloudformation估算模板成本返回非工作URL

Amazon web services aws cloudformation估算模板成本返回非工作URL,amazon-web-services,templates,amazon-s3,amazon-ec2,amazon-cloudformation,Amazon Web Services,Templates,Amazon S3,Amazon Ec2,Amazon Cloudformation,我正试图更熟悉使用AWS的成本。我正在尝试将aws cloudformation estimate模板成本与一个aws quickstart模板一起使用 这是我的命令,它返回一个URL: $: aws --region="us-west-2" cloudformation estimate-template-cost --template-url="https://s3.amazonaws.com/quickstart-reference/hashicorp/vault/latest/templ

我正试图更熟悉使用AWS的成本。我正在尝试将aws cloudformation estimate模板成本与一个aws quickstart模板一起使用

这是我的命令,它返回一个URL:

$: aws --region="us-west-2" cloudformation estimate-template-cost --template-url="https://s3.amazonaws.com/quickstart-reference/hashicorp/vault/latest/templates/quickstart-hashicorp-vault-master.template" --parameters='[{"ParameterKey":"KeyPairName","ParameterValue":"","UsePreviousValue":false},{"ParameterKey":"AccessCIDR","ParameterValue":"0.0.0.0/0","UsePreviousValue":false},{"ParameterKey":"EmailAddress","ParameterValue": "","UsePreviousValue": false},{"ParameterKey":"AvailabilityZones", "ParameterValue":"us-west-2a,us-west-2b,us-west-2c","UsePreviousValue":false}]'
{
    "Url": "http://calculator.s3.amazonaws.com/calc5.html?key=cloudformation/500b0d9e-22fd-400a-bfa3-7ad34dfeb592"
}
返回的URL只是将我带到成本计算器网站,没有填写任何信息,只有空白表单

我还注意到,当我试图在AWS控制台中手动启动此模板时,没有可用的链接:


我在控制台中填写的参数与命令中的参数匹配。我填写的参数/选项是否有问题?或者,关于AWS帐户,我是否应该查找一些不允许我执行此操作的内容?

啊,看来我只是选择了错误的模板进行测试,因为此模板只会增加VPC资源,不需要任何费用。

如果其他人想知道估算模板成本支持哪些资源类型: