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

プライベートLANのみの使用の場合のサーバのプライベートIPアドレス設定方法について #142

Open
ju-asao opened this issue Dec 6, 2024 · 2 comments

Comments

@ju-asao
Copy link

ju-asao commented Dec 6, 2024

プライベートLANのみの場合はterraformの構築時に固定IP指定はできないの
でしょうか?
リソース作成後にニフクラのコンソールにてログインを行い固定IPの設定が必須でしょう
か?
可能であればTeraformの定義ファイル内でプライベートIPアドレスを指定したい

@kozm
Copy link

kozm commented Jan 24, 2025

Thank you for your question.
The process that you want to perform can be achieved by using a startup script.
Please refer to the sample code project for sample code.
Example) https://github.com/nifcloud/nifcloud-sample/tree/master/terraform/example_code/cdp_multi_layer

@ju-asao
Copy link
Author

ju-asao commented Jan 24, 2025

@kozm
Thank you very mach!
I understand using OS command scripts.
I learned something.
But,I have one question. Can the script be executed from terraform without logging in to the OS?

Since it's Linux, You're using keypair.
What to do for Windows Server?

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

No branches or pull requests

2 participants