Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

awscliのバージョン指定できるようにします。 #3

Conversation

phamvanhungmixi
Copy link

@phamvanhungmixi phamvanhungmixi commented Jan 10, 2019

問題

新しいawscliとcloud-init相性が悪いため、cloud-initのコマンドが壊れました。
詳しく
aws/aws-cli#3678

解決

chefでawscliバージョン指定できるようにして、awscli1.16.38がcloud-initと問題ないので、そのバージョンを使用します。

@phamvanhungmixi
Copy link
Author

phamvanhungmixi commented Jan 10, 2019

元々awscliをグローバルでインストールするのが良くないかも。awscliはvirtual environmentsでインストールするのが安全で、conflictの問題もなくなります。

@phamvanhungmixi phamvanhungmixi changed the title [WIP] awscliのバージョン指定できるようにします。 awscliのバージョン指定できるようにします。 Jan 10, 2019
@phamvanhungmixi
Copy link
Author

phamvanhungmixi commented Jan 10, 2019

今回はawscliバージョン指定できるようにするのが良いかと思います。
今後awscliバージョンアップするとき、virtualenvとかで検討すればいいかなと思います。virtualenv使うのはちょっとawscliコマンド実行するとき、virtualenvactiveしないといけないから、簡単に移行できなさそう

@phamvanhungmixi
Copy link
Author

aws/aws-cli#3587 (comment)
awscli v2はbinaryで動けば依存関係の問題もなくなって、色々楽になりそう。

@t-koike t-koike merged commit dc521de into monsterstrike:master Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants